From 93a41cf7432e615fdb4c635ed01cfb2f7e4ef4a5 Mon Sep 17 00:00:00 2001 From: hogliux Date: Mon, 16 May 2016 14:33:53 +0100 Subject: [PATCH] Call setProcessing (false) when resting a VST3 plug-in --- .../format_types/juce_VST3PluginFormat.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp index f652429589..b790e68174 100644 --- a/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp +++ b/modules/juce_audio_processors/format_types/juce_VST3PluginFormat.cpp @@ -1966,10 +1966,13 @@ public: //============================================================================== void reset() override { - if (component != nullptr) + if (component != nullptr && processor != nullptr) { + processor->setProcessing (false); component->setActive (false); + component->setActive (true); + processor->setProcessing (true); } }