diff options
Diffstat (limited to 'src/ClientEvent.cxx')
-rw-r--r-- | src/ClientEvent.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ClientEvent.cxx b/src/ClientEvent.cxx index aacd01cfe..fe967f93b 100644 --- a/src/ClientEvent.cxx +++ b/src/ClientEvent.cxx @@ -20,6 +20,7 @@ #include "config.h" #include "ClientInternal.hxx" #include "Main.hxx" +#include "event/Loop.hxx" #include <assert.h> @@ -83,7 +84,7 @@ client_in_event(G_GNUC_UNUSED GIOChannel *source, GIOCondition condition, case COMMAND_RETURN_KILL: client_close(client); - g_main_loop_quit(main_loop); + main_loop->Break(); return false; case COMMAND_RETURN_CLOSE: |