From 201ba182d5a094863c935efa5af5fadea258db26 Mon Sep 17 00:00:00 2001 From: jules Date: Fri, 9 May 2014 12:17:33 +0100 Subject: [PATCH] VST hosting: made sure that effEditClose is called on Mac builds with Carbon support. --- .../format_types/juce_VSTPluginFormat.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp index c6084e39a7..d56536321d 100644 --- a/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VSTPluginFormat.cpp @@ -2317,10 +2317,8 @@ private: { if (isOpen) { - #if ! (JUCE_MAC && JUCE_SUPPORT_CARBON) JUCE_VST_LOG ("Closing VST UI: " + plugin.getName()); isOpen = false; - dispatch (effEditClose, 0, 0, 0, 0); stopTimer(); @@ -2336,7 +2334,6 @@ private: pluginWindow = 0; pluginProc = 0; #endif - #endif } }