diff options
author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-04-09 18:15:47 +0200 |
---|---|---|
committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-04-09 18:15:47 +0200 |
commit | 7d7d2013c740aab5308afe00e27a784b0423f541 (patch) | |
tree | 60610f4331ad01a8c839a8244fe626da411cab8f | |
parent | b2aa5f572a12858b1e1ce9987e3d26ae13449834 (diff) | |
download | libdbusmenu-7d7d2013c740aab5308afe00e27a784b0423f541.tar.gz libdbusmenu-7d7d2013c740aab5308afe00e27a784b0423f541.tar.bz2 libdbusmenu-7d7d2013c740aab5308afe00e27a784b0423f541.zip |
test-json-server: add a timeout before quitting
-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 |