mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Fixed a few Array::removeValue calls that I'd missed..
This commit is contained in:
parent
0475cedff5
commit
a866a9c2cf
5 changed files with 6 additions and 6 deletions
|
|
@ -108,7 +108,7 @@ PluginWindow* PluginWindow::getWindowFor (AudioProcessorGraph::Node* node,
|
|||
|
||||
PluginWindow::~PluginWindow()
|
||||
{
|
||||
activePluginWindows.removeValue (this);
|
||||
activePluginWindows.removeFirstMatchingValue (this);
|
||||
clearContentComponent();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ TestComponent::TestComponent (JucerDocument* const ownerDocument_,
|
|||
|
||||
TestComponent::~TestComponent()
|
||||
{
|
||||
testComponents.removeValue (this);
|
||||
testComponents.removeFirstMatchingValue (this);
|
||||
deleteAllChildren();
|
||||
delete loadedDocument;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ public:
|
|||
deleteTempChannels();
|
||||
|
||||
jassert (activePlugins.contains (this));
|
||||
activePlugins.removeValue (this);
|
||||
activePlugins.removeFirstMatchingValue (this);
|
||||
}
|
||||
|
||||
if (activePlugins.size() == 0)
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@ public:
|
|||
void removeListener (CameraDevice::Listener* listenerToRemove)
|
||||
{
|
||||
const ScopedLock sl (listenerLock);
|
||||
listeners.removeValue (listenerToRemove);
|
||||
listeners.removeFirstMatchingValue (listenerToRemove);
|
||||
|
||||
if (listeners.size() == 0)
|
||||
[session removeOutput: imageOutput];
|
||||
|
|
|
|||
|
|
@ -400,7 +400,7 @@ public:
|
|||
void removeListener (CameraDevice::Listener* listenerToRemove)
|
||||
{
|
||||
const ScopedLock sl (listenerLock);
|
||||
listeners.removeValue (listenerToRemove);
|
||||
listeners.removeFirstMatchingValue (listenerToRemove);
|
||||
|
||||
if (listeners.size() == 0)
|
||||
removeUser();
|
||||
|
|
@ -438,7 +438,7 @@ public:
|
|||
{
|
||||
if (owner != nullptr)
|
||||
{
|
||||
owner->viewerComps.removeValue (this);
|
||||
owner->viewerComps.removeFirstMatchingValue (this);
|
||||
owner->removeUser();
|
||||
owner->removeChangeListener (this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue