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

Better (not best) exit for locked config file

This commit is contained in:
Leland Lucius 2021-01-31 20:04:58 -06:00
parent da49fe63da
commit 96a417c61a

View File

@ -136,13 +136,7 @@ void AudacityFileConfig::Warn(bool canRetry)
break;
case wxID_CANCEL:
// This REALLY needs to use an exception with decent cleanup and program exit
wxExit();
#if defined(__WXGTK__)
wxAbort();
#else
exit(-1);
#endif
_exit(-1);
break;
}