
If I add the DocumentWindow to the Desktop I get the crash, even if I don’t make it visible. Remove the plugin straight away using the keyboard shortcut.Open Live, create an instance of the plugin - editor window opens automatically.If I run the VST version Live 8 (Mac) I get exactly the same crash as described in this thread: My plugin creates a auxilliary DocumentWindow. Hi ke20, did you ever resolve this problem? If my EditorWindow is opened when its destructor is called AND it called the destructor of this window, it crashes. If I let the host do all the work upon deletion of the plugin, leaving the EditorComponent window open, I am sure (verified with the debugger) that the EditorComponent destructor gets called, but for some reason I fear that OS X “remembers” some reference to that auxiliary window, and attempts to send a message to that after having deleted it.ĭid you find a solution for this problem? I have exactly the same issue (an extra DocumentWindow created by my Editor).

Sure enough, the EditorComponent’s destructor contains the code to deallocate that auxiliary window as well, but for some reason I have no time to investigate (here Jules may have more luck than me), it seems that it behaves correctly only when I explicitly close the editor AND THEN delete the plugin from live.

Investigating the selector that caused the problem, I think I found the cause: when compiled in Debug mode, the plugin creates an auxiliary window that isn’t child of it.
