1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-25 23:55:52 +01:00

AUP3: Provides relief from slow shutdown

This is a hack to fix the long delay at Audacity shutdown
after editing large files and tossing the results (not
saving).
This commit is contained in:
Leland Lucius
2020-07-02 22:08:39 -05:00
parent 127696879d
commit 48287e9b0d
4 changed files with 61 additions and 28 deletions

View File

@@ -672,6 +672,9 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
}
}
// See ProjectFileIO::Bypass() for a description
projectFileIO.Bypass(true);
#ifdef __WXMAC__
// Fix bug apparently introduced into 2.1.2 because of wxWidgets 3:
// closing a project that was made full-screen (as by clicking the green dot