not really, unfortunately. The crash remains as you did only half the way.
Yes, you are right, i didnt pay attention and missed your point on which pointer to check there. However, when saying this may be the last update, I meant that at least until now I was doing this plugin for my own purposes and right now it delivers just what I need
I fully agree that at this stage it is not properly tested to be "production ready" or so. This is a small plugin and it did not seem to catch much attention here on the forum, so I figured, it is usable enough to be worth hanging as an attachment on this thread
I do not know how you generally handle contrib plugins, but sure I would be interested in doing some more work on it, if you think it could be made a part a release package, or so. Let me make another revision some time next week with proper error checking so it at least does not crash the host. Thing is, it does it's direct job perfectly well for me on my machine and my build configuration
Checking for special cases is a bit difficult in such a scenario, especially that I am not aware of many cb specifics, e.g. no idea virtual targets existed, etc