mirror of
https://github.com/cookiengineer/audacity
synced 2025-09-17 16:50:26 +02:00
Remove obsolete mentions of DirManager in comments
This commit is contained in:
parent
bd6536f3c4
commit
061208c5cf
@ -1263,7 +1263,6 @@ bool AudacityApp::OnInit()
|
||||
// AColor depends on theTheme.
|
||||
AColor::Init();
|
||||
|
||||
// Init DirManager, which initializes the temp directory
|
||||
// If this fails, we must exit the program.
|
||||
if (!InitTempDir()) {
|
||||
FinishPreferences();
|
||||
|
@ -706,7 +706,6 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
|
||||
#endif
|
||||
|
||||
// DanH: If we're definitely about to quit, clear the clipboard.
|
||||
// Doing this after Deref'ing the DirManager causes problems.
|
||||
auto &clipboard = Clipboard::Get();
|
||||
if ((AllProjects{}.size() == 1) &&
|
||||
(quitOnClose || AllProjects::Closing()))
|
||||
@ -744,11 +743,11 @@ void ProjectManager::OnCloseWindow(wxCloseEvent & event)
|
||||
{
|
||||
AutoCommitTransaction trans(projectFileIO, "Shutdown");
|
||||
|
||||
// This must be done before the following Deref() since it holds
|
||||
// references to the DirManager.
|
||||
// This can reduce reference counts of sample blocks in the project's
|
||||
// tracks.
|
||||
UndoManager::Get( project ).ClearStates();
|
||||
|
||||
// Delete all the tracks to free up memory and DirManager references.
|
||||
// Delete all the tracks to free up memory
|
||||
tracks.Clear();
|
||||
}
|
||||
|
||||
@ -922,7 +921,6 @@ void ProjectManager::ResetProjectToEmpty() {
|
||||
SelectUtilities::DoSelectAll( project );
|
||||
TrackUtilities::DoRemoveTracks( project );
|
||||
|
||||
// A new DirManager.
|
||||
TrackFactory::Reset( project );
|
||||
|
||||
projectFileManager.Reset();
|
||||
|
Loading…
x
Reference in New Issue
Block a user