From 83f1331cc5ca3f4865b1754ba0b975dff445a7ed Mon Sep 17 00:00:00 2001 From: mtytel Date: Mon, 12 Jun 2017 10:40:26 -0400 Subject: [PATCH] Fixed crash on second open of OpenGL enalbed plugin. --- modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp b/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp index 1748719fde..5f1dcabce3 100644 --- a/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp +++ b/modules/juce_audio_plugin_client/LV2/juce_LV2_Wrapper.cpp @@ -915,6 +915,8 @@ public: } else { + parentContainer->setVisible (false); + if (parentContainer != nullptr && parentContainer->isOnDesktop()) parentContainer->removeFromDesktop(); }