mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 00:03:52 +02:00
Bug1429: Fix Mac crash in 2nd Audacity process enabling VST plugins
This commit is contained in:
@@ -770,7 +770,7 @@ void TrackList::Swap(TrackList &that)
|
||||
|
||||
TrackList::~TrackList()
|
||||
{
|
||||
Clear();
|
||||
Clear(false);
|
||||
}
|
||||
|
||||
void TrackList::RecalcPositions(TrackNodePointer node)
|
||||
@@ -956,10 +956,11 @@ TrackNodePointer TrackList::Remove(Track *t)
|
||||
return result;
|
||||
}
|
||||
|
||||
void TrackList::Clear()
|
||||
void TrackList::Clear(bool sendEvent)
|
||||
{
|
||||
ListOfTracks::clear();
|
||||
UpdatedEvent(end());
|
||||
if (sendEvent)
|
||||
UpdatedEvent(end());
|
||||
}
|
||||
|
||||
void TrackList::Select(Track * t, bool selected /* = true */ )
|
||||
|
||||
Reference in New Issue
Block a user