mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
AUP3: Reduce crash exposure when compacting
There's still the possibility if a crash happens at just the right time that the project will be named "<project>_compact_back" so we should probably look for it during startup. This also changes all "Vacuum" references to "compact".
This commit is contained in:
@@ -732,8 +732,8 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
|
||||
// TODO: Is there a Mac issue here??
|
||||
// SetMenuBar(NULL);
|
||||
|
||||
// Vacuum the project.
|
||||
projectFileManager.VacuumProject();
|
||||
// Compact the project.
|
||||
projectFileManager.CompactProject();
|
||||
|
||||
// Set (or not) the bypass flag to indicate that deletes that would happen during
|
||||
// the UndoManager::ClearStates() below are not necessary.
|
||||
|
||||
Reference in New Issue
Block a user