diff --git a/src/events.cpp b/src/events.cpp index 30629e8fe0f5..026c4a112854 100644 --- a/src/events.cpp +++ b/src/events.cpp @@ -64,6 +64,7 @@ struct invoked_function_data f(); } catch(const CVideo::quit&) { // Handle this exception in the main thread. + throw; } catch(...) { thrown_exception = std::current_exception(); }