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

AUP3: Deal with a couple of delays

The first was due to a left over bit of code in Compact and has
been removed.

The second is in SaveProject. This one can't be removed, so a
progress dialog was added.
This commit is contained in:
Leland Lucius
2020-07-29 09:00:38 -05:00
parent 0a4cae3a67
commit 863be98ccd
2 changed files with 44 additions and 16 deletions

View File

@@ -68,11 +68,7 @@ bool DBConnection::Open(const char *fileName)
}
// Set default mode
//
// NOTE: There is a noticable delay here when dealing with large multi-hour projects
// that were just created with "Save As". Presumably this is because of the
// journal mode switch from NONE to WAL. Should it be wrapped in a progress
// dialog?
// (See comments in ProjectFileIO::SaveProject() about threading
SafeMode();
// Kick off the checkpoint thread