mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-23 17:30:17 +01:00
Better (not best) exit for locked config file
This commit is contained in:
@@ -136,13 +136,7 @@ void AudacityFileConfig::Warn(bool canRetry)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case wxID_CANCEL:
|
case wxID_CANCEL:
|
||||||
// This REALLY needs to use an exception with decent cleanup and program exit
|
_exit(-1);
|
||||||
wxExit();
|
|
||||||
#if defined(__WXGTK__)
|
|
||||||
wxAbort();
|
|
||||||
#else
|
|
||||||
exit(-1);
|
|
||||||
#endif
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user