mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-06 07:29:07 +02:00
Bug 2135 - Audacity crashes if launched with a locked pluginregistry.cfg file
This commit is contained in:
parent
9543dd36c4
commit
4f7affad3f
@ -1297,6 +1297,10 @@ bool AudacityApp::OnInit()
|
|||||||
|
|
||||||
bool AudacityApp::InitPart2()
|
bool AudacityApp::InitPart2()
|
||||||
{
|
{
|
||||||
|
#if defined(__WXMAC__)
|
||||||
|
SetExitOnFrameDelete(false);
|
||||||
|
#endif
|
||||||
|
|
||||||
// Make sure the temp dir isn't locked by another process.
|
// Make sure the temp dir isn't locked by another process.
|
||||||
{
|
{
|
||||||
auto key =
|
auto key =
|
||||||
@ -1428,8 +1432,6 @@ bool AudacityApp::InitPart2()
|
|||||||
auto &recentFiles = FileHistory::Global();
|
auto &recentFiles = FileHistory::Global();
|
||||||
recentFiles.UseMenu(recentMenu);
|
recentFiles.UseMenu(recentMenu);
|
||||||
|
|
||||||
SetExitOnFrameDelete(false);
|
|
||||||
|
|
||||||
#endif //__WXMAC__
|
#endif //__WXMAC__
|
||||||
temporarywindow.Show(false);
|
temporarywindow.Show(false);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user