1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-07-04 14:39:08 +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:
Paul Licameli 2018-01-05 15:41:04 -05:00
parent 9a58ead5c8
commit e19a4fa943

View File

@ -8132,8 +8132,7 @@ void AudacityProject::OnTimerRecord(const CommandContext &)
// No action required // No action required
break; break;
case POST_TIMER_RECORD_CLOSE: case POST_TIMER_RECORD_CLOSE:
// Quit Audacity wxTheApp->CallAfter( []{ QuitAudacity(); } );
exit(0);
break; break;
case POST_TIMER_RECORD_RESTART: case POST_TIMER_RECORD_RESTART:
// Restart System // Restart System