1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-12-25 14:11:28 +01:00

Don't delay exit of the program until next idle...

... restoring it to immediate dispatch, as it was before
6cde697a8e which was a cycle-breaking move
This commit is contained in:
Paul Licameli
2020-05-21 14:07:18 -04:00
parent d8cb4721f1
commit b8f22981ee

View File

@@ -527,7 +527,7 @@ void OnExit(const CommandContext &WXUNUSED(context) )
{ {
// Simulate the application Exit menu item // Simulate the application Exit menu item
wxCommandEvent evt{ wxEVT_MENU, wxID_EXIT }; wxCommandEvent evt{ wxEVT_MENU, wxID_EXIT };
wxTheApp->AddPendingEvent( evt ); wxTheApp->ProcessEvent( evt );
} }
void OnExportFLAC(const CommandContext &context) void OnExportFLAC(const CommandContext &context)