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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user