Browse Source

Made sure that VST3 plugin views have setFrame (nullptr) called before their UIs are closed, because some plugins seem to expect this.

tags/2021-05-28
jules 11 years ago
parent
commit
ead283e95c
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp

+ 2
- 0
modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp View File

@@ -1449,6 +1449,8 @@ public:
~VST3PluginWindow() ~VST3PluginWindow()
{ {
warnOnFailure (view->removed()); warnOnFailure (view->removed());
warnOnFailure (view->setFrame (nullptr));
getAudioProcessor()->editorBeingDeleted (this); getAudioProcessor()->editorBeingDeleted (this);
#if JUCE_MAC #if JUCE_MAC


Loading…
Cancel
Save