1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-19 15:11:23 +01:00

Fix crashes (sometimes) when closing a project, due to overlays

This commit is contained in:
Paul Licameli
2016-05-12 15:05:17 -04:00

View File

@@ -1124,6 +1124,10 @@ AudacityProject::~AudacityProject()
wxCommandEventHandler(AudacityProject::OnCapture),
NULL,
this);
// Do this before destroying the overlays
delete mRuler;
mRuler = nullptr;
}
AudioIOStartStreamOptions AudacityProject::GetDefaultPlayOptions()