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:
parent
da49fe63da
commit
96a417c61a
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user