1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-03-28 17:15:45 +01:00

TransactionScope only requires DBConnection not ProjectFileIO

This commit is contained in:
Paul Licameli
2020-09-02 15:14:11 -04:00
parent eb7e67623e
commit ddc2593282
4 changed files with 24 additions and 24 deletions

View File

@@ -740,7 +740,7 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
projectFileIO.SetBypass();
{
TransactionScope trans(projectFileIO, "Shutdown");
TransactionScope trans(projectFileIO.GetConnection(), "Shutdown");
// This can reduce reference counts of sample blocks in the project's
// tracks.