1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

VST3: Call setVisible (false) on the editor content component before removing it from the desktop on Windows to avoid an OpenGLTexture leak

This commit is contained in:
ed 2018-12-14 10:07:10 +00:00
parent 81f162a43d
commit af098a1985

View file

@ -874,6 +874,7 @@ private:
if (component != nullptr)
{
#if JUCE_WINDOWS
component->setVisible (false);
component->removeFromDesktop();
#else
if (macHostWindow != nullptr)