1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 16:40:07 +02:00

Remove a sleep that does not help bug1567

This commit is contained in:
Paul Licameli 2017-01-28 16:21:32 -05:00
parent dd836f4841
commit 3ebf9fca20

View File

@ -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() };