mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Standalone: Fixed a crash due to a dangling input muted value listener
This commit is contained in:
parent
0b79bcec69
commit
e467473157
1 changed files with 2 additions and 1 deletions
|
|
@ -857,7 +857,7 @@ private:
|
|||
editor (owner.getAudioProcessor()->hasEditor() ? owner.getAudioProcessor()->createEditorIfNeeded()
|
||||
: new GenericAudioProcessorEditor (*owner.getAudioProcessor()))
|
||||
{
|
||||
Value& inputMutedValue = owner.pluginHolder->getMuteInputValue();
|
||||
inputMutedValue.referTo (owner.pluginHolder->getMuteInputValue());
|
||||
|
||||
if (editor != nullptr)
|
||||
{
|
||||
|
|
@ -1014,6 +1014,7 @@ private:
|
|||
StandaloneFilterWindow& owner;
|
||||
NotificationArea notification;
|
||||
std::unique_ptr<AudioProcessorEditor> editor;
|
||||
Value inputMutedValue;
|
||||
bool shouldShowNotification = false;
|
||||
|
||||
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (MainContentComponent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue