From ead283e95c110ab4b6e9b536556879e13df36ced Mon Sep 17 00:00:00 2001 From: jules Date: Wed, 4 Jun 2014 10:52:10 +0100 Subject: [PATCH] Made sure that VST3 plugin views have setFrame (nullptr) called before their UIs are closed, because some plugins seem to expect this. --- .../format_types/juce_VST3PluginFormat.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index 7abe6e3d3c..29c28e03ab 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -1449,6 +1449,8 @@ public: ~VST3PluginWindow() { warnOnFailure (view->removed()); + warnOnFailure (view->setFrame (nullptr)); + getAudioProcessor()->editorBeingDeleted (this); #if JUCE_MAC