mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-01 16:19:43 +02:00
Fix crashes (sometimes) when closing a project, due to overlays
This commit is contained in:
commit
081ec91f55
@ -1124,6 +1124,10 @@ AudacityProject::~AudacityProject()
|
||||
wxCommandEventHandler(AudacityProject::OnCapture),
|
||||
NULL,
|
||||
this);
|
||||
|
||||
// Do this before destroying the overlays
|
||||
delete mRuler;
|
||||
mRuler = nullptr;
|
||||
}
|
||||
|
||||
AudioIOStartStreamOptions AudacityProject::GetDefaultPlayOptions()
|
||||
|
Loading…
x
Reference in New Issue
Block a user