aboutsummaryrefslogtreecommitdiff
path: root/src/SignalHandlers.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/SignalHandlers.cxx')
-rw-r--r--src/SignalHandlers.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SignalHandlers.cxx b/src/SignalHandlers.cxx
index a1938c73..d438eb70 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)