OpenGLContext crashes most of the times when closing plugin editor. This happens at least on VST2, and if I recall correctly, on VST3 as well. I hit this with both latest Cubase 9, and the latest Juce Plugin Demo Host.
Closing VST UI: Juce501Plugin
***** GL_INVALID_FRAMEBUFFER_OPERATION at …/…/…/JUCE/modules/juce_opengl/opengl/juce_OpenGLContext.cpp : 1176
JUCE Assertion failure in juce_opengl.cpp:155
Running latest tip, I was able to reproduce this by creating an empty plugin project with Projucer, and adding the OpenGL context as explained here:
Plugin Editor class declaration:
Running on OSX 10.10.5.
Was this issue already resolved earlier?
I couldn’t find any fix for it yet.