mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-16 00:34:19 +00:00
Call setProcessing (false) when resting a VST3 plug-in
This commit is contained in:
parent
f0dd881e08
commit
93a41cf743
1 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue