1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-31 17:08:45 +01:00

Bug2599: -wal and -shm of discarded temp projects should clean up

This commit is contained in:
Paul Licameli
2020-11-24 14:09:26 -05:00
parent 0d5b9753bc
commit 7e1e339f72
3 changed files with 25 additions and 32 deletions

View File

@@ -137,6 +137,9 @@ private:
bool MoveProject(const FilePath &src, const FilePath &dst);
public:
//! Remove any files associated with a project at given path; return true if successful
static bool RemoveProject(const FilePath &filename);
// Object manages the temporary backing-up of project paths while
// trying to overwrite with new contents, and restoration in case of failure
class BackupProject {