mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Bug1884: fix crash when record to new track and fail to open device
This commit is contained in:
parent
3051e9ce7e
commit
800ddf32e1
@ -1482,6 +1482,7 @@ void TrackList::ClearPendingTracks( ListOfTracks *pAdded )
|
||||
if (it->get()->GetId() == TrackId{}) {
|
||||
if (pAdded)
|
||||
pAdded->push_back( *it );
|
||||
(*it)->SetOwner( {}, {} );
|
||||
it = erase( it );
|
||||
}
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user