1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-18 14:41:20 +01:00

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

This commit is contained in:
Paul Licameli
2016-05-12 15:04:48 -04:00
parent dcd581297a
commit a33ca3ec3d

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()