diff options
-rw-r--r-- | tests/test-json-server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test-json-server.c b/tests/test-json-server.c index 9a2dd8e..2603070 100644 --- a/tests/test-json-server.c +++ b/tests/test-json-server.c @@ -36,8 +36,7 @@ root_activate (void) g_debug("Dumping callgrind data"); CALLGRIND_DUMP_STATS_AT("exported"); CALLGRIND_STOP_INSTRUMENTATION; - g_main_loop_quit(mainloop); - return; + g_timeout_add(500, (GSourceFunc)g_main_loop_quit, mainloop); } static void |