mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +02:00
Fix another possible case of crashing on exit
This commit is contained in:
parent
2a06b10884
commit
1ce9d59590
@ -74,9 +74,6 @@ private:
|
||||
|
||||
std::unique_ptr<wxTimer> mTimer;
|
||||
|
||||
// See explanation in OnCloseWindow
|
||||
bool mIsBeingDeleted{ false };
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
static bool sbWindowRectAlreadySaved;
|
||||
|
@ -872,6 +872,8 @@ void ProjectWindow::RedrawProject(const bool bForceWaveTracks /*= false*/)
|
||||
|
||||
if (!pThis)
|
||||
return;
|
||||
if (pThis->IsBeingDeleted())
|
||||
return;
|
||||
|
||||
auto &project = pThis->mProject ;
|
||||
auto &tracks = TrackList::Get( project );
|
||||
|
Loading…
x
Reference in New Issue
Block a user