mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-20 15:41:18 +01:00
Fix crashes (sometimes) when closing a project, due to overlays
This commit is contained in:
@@ -2416,8 +2416,10 @@ void AudacityProject::OnCloseWindow(wxCloseEvent & event)
|
|||||||
&mViewInfo);
|
&mViewInfo);
|
||||||
|
|
||||||
Destroy();
|
Destroy();
|
||||||
|
mRuler = nullptr;
|
||||||
|
|
||||||
mIsBeingDeleted = true;
|
mIsBeingDeleted = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void AudacityProject::OnOpenAudioFile(wxCommandEvent & event)
|
void AudacityProject::OnOpenAudioFile(wxCommandEvent & event)
|
||||||
|
|||||||
Reference in New Issue
Block a user