1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-15 23:59:37 +02:00

Bug 2135 - Audacity crashes if launched with a locked pluginregistry.cfg file

This commit is contained in:
Leland Lucius 2021-02-01 18:05:16 -06:00
parent 9543dd36c4
commit 4f7affad3f

View File

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