mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-16 16:10:06 +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),
|
wxCommandEventHandler(AudacityProject::OnCapture),
|
||||||
NULL,
|
NULL,
|
||||||
this);
|
this);
|
||||||
|
|
||||||
|
// Do this before destroying the overlays
|
||||||
|
delete mRuler;
|
||||||
|
mRuler = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
AudioIOStartStreamOptions AudacityProject::GetDefaultPlayOptions()
|
AudioIOStartStreamOptions AudacityProject::GetDefaultPlayOptions()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user