[telepathy-mission-control/master] Shut down libdbus in regression-tested build, in an attempt to get cleaner valgrind logs

Simon McVittie simon.mcvittie at collabora.co.uk
Thu May 28 09:31:42 PDT 2009


---
 test/twisted/mc-debug-server.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/twisted/mc-debug-server.c b/test/twisted/mc-debug-server.c
index 2e6ddf2..6598590 100644
--- a/test/twisted/mc-debug-server.c
+++ b/test/twisted/mc-debug-server.c
@@ -172,11 +172,15 @@ main (int argc, char **argv)
     g_main_loop_run (teardown_loop);
 
 out:
+
     if (bus_daemon != NULL)
     {
+        dbus_connection_flush (connection);
         g_object_unref (bus_daemon);
     }
 
+    dbus_shutdown ();
+
     g_message ("Exiting with %d", ret);
 
     return ret;
-- 
1.5.6.5




More information about the telepathy-commits mailing list