Hey guys -
Fairly easy to reproduce crash here, if you add:
if (OpenGLHelpers::isContextActive()) OpenGLHelpers::clear(Colours::grey);
To the resize method of you pluginEditor, you get some serious issues in ProTools and PluginDoctor.
Specifically, if the plugin is has an active gl context, you get a crash in either program.
If the plugin does not have a context, then PT is fine and PluginDoctor hangs (PT doesn’t use gl for rendering, PluginDoctor does … which seems to be the difference).
I assume this call should be valid when called from resize(), but please let me know if not.
I am making this call simply to clear the context (since otherwise it is bright RED, which is ugly):