diff --git a/src/AudacityApp.cpp b/src/AudacityApp.cpp index 94a8bba91..3e703992a 100644 --- a/src/AudacityApp.cpp +++ b/src/AudacityApp.cpp @@ -1297,6 +1297,10 @@ bool AudacityApp::OnInit() bool AudacityApp::InitPart2() { +#if defined(__WXMAC__) + SetExitOnFrameDelete(false); +#endif + // Make sure the temp dir isn't locked by another process. { auto key = @@ -1428,8 +1432,6 @@ bool AudacityApp::InitPart2() auto &recentFiles = FileHistory::Global(); recentFiles.UseMenu(recentMenu); - SetExitOnFrameDelete(false); - #endif //__WXMAC__ temporarywindow.Show(false); }