Commit 3fcf17cb authored by Max Kellermann's avatar Max Kellermann

SignalHandlers: emit GlobalEvents::SHUTDOWN

.. instead of calling g_main_loop_quit(), which may dead-lock.
parent f9fc3a42
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment