mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-04 06:29:07 +02:00
Timer record exits Audacity more gracefully...
... the direct call to exit(0) caused SIGABRT for me during shutdown on Mac.
This commit is contained in:
parent
9a58ead5c8
commit
e19a4fa943
@ -8132,8 +8132,7 @@ void AudacityProject::OnTimerRecord(const CommandContext &)
|
||||
// No action required
|
||||
break;
|
||||
case POST_TIMER_RECORD_CLOSE:
|
||||
// Quit Audacity
|
||||
exit(0);
|
||||
wxTheApp->CallAfter( []{ QuitAudacity(); } );
|
||||
break;
|
||||
case POST_TIMER_RECORD_RESTART:
|
||||
// Restart System
|
||||
|
Loading…
x
Reference in New Issue
Block a user