1
0
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:
Paul Licameli 2019-07-02 21:00:25 -04:00
parent 2a06b10884
commit 1ce9d59590
2 changed files with 2 additions and 3 deletions

View File

@ -74,9 +74,6 @@ private:
std::unique_ptr<wxTimer> mTimer;
// See explanation in OnCloseWindow
bool mIsBeingDeleted{ false };
DECLARE_EVENT_TABLE()
static bool sbWindowRectAlreadySaved;

View File

@ -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 );