diff options
-rw-r--r-- | src/SignalHandlers.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SignalHandlers.cxx b/src/SignalHandlers.cxx index a1938c737..d438eb703 100644 --- a/src/SignalHandlers.cxx +++ b/src/SignalHandlers.cxx @@ -36,7 +36,7 @@ static void exit_signal_handler(G_GNUC_UNUSED int signum) { - main_loop->Break(); + GlobalEvents::Emit(GlobalEvents::SHUTDOWN); } static void reload_signal_handler(G_GNUC_UNUSED int signum) |