Browse Source

A couple more Array::removeValue calls that I'd missed..

tags/2021-05-28
jules 13 years ago
parent
commit
3d72789127
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm

+ 2
- 2
modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm View File

@@ -165,7 +165,7 @@ public:
juceFilter = nullptr;
jassert (activePlugins.contains (this));
activePlugins.removeValue (this);
activePlugins.removeFirstMatchingValue (this);
if (activePlugins.size() + activeUIs.size() == 0)
shutdownJuce_GUI();
@@ -1066,7 +1066,7 @@ public:
deleteEditor (self);
jassert (activeUIs.contains (self));
activeUIs.removeValue (self);
activeUIs.removeFirstMatchingValue (self);
if (activePlugins.size() + activeUIs.size() == 0)
shutdownJuce_GUI();
}


Loading…
Cancel
Save