From 3ebf9fca209cdacb04d71e09300c2b46d392a27e Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sat, 28 Jan 2017 16:21:32 -0500 Subject: [PATCH] Remove a sleep that does not help bug1567 --- src/Project.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/Project.cpp b/src/Project.cpp index 194eaef9c..53996877a 100644 --- a/src/Project.cpp +++ b/src/Project.cpp @@ -2626,15 +2626,6 @@ void AudacityProject::OnCloseWindow(wxCloseEvent & event) // have been deleted before this. mDirManager.reset(); -#ifdef FIX_BUG1567 - // PRL: part of Bug1567: - // This sleep after destroying the block files may avoid problems on macOS - // Sierra and later, when quitting a project (but not the program) without - // saving the file. - if (AudacityApp::IsSierraOrLater()) - ::wxMilliSleep(1000); -#endif - AProjectHolder pSelf; { ODLocker locker{ &AudacityProject::AllProjectDeleteMutex() };