[Pkg-telepathy-commits] [telepathy-glib-1] 59/212: tp_run_connection_manager: disable exit-on-close for CMs

Simon McVittie smcv at debian.org
Wed May 14 12:08:51 UTC 2014


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian
in repository telepathy-glib-1.

commit 0d88f0a525e9ac1b9dd9c861e0f9f84884fddc0d
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date:   Thu Mar 27 17:33:31 2014 +0000

    tp_run_connection_manager: disable exit-on-close for CMs
---
 telepathy-glib/run.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/telepathy-glib/run.c b/telepathy-glib/run.c
index 5de43f7..43e5299 100644
--- a/telepathy-glib/run.c
+++ b/telepathy-glib/run.c
@@ -260,6 +260,9 @@ tp_run_connection_manager (const char *prog_name,
       (GCallback) no_more_connections, NULL);
 
   connection = tp_proxy_get_dbus_connection (bus_daemon);
+  /* Exit gracefully (terminate the main loop) on close, rather
+   * than raising SIGTERM, so that valgrind can see our memory leaks */
+  g_dbus_connection_set_exit_on_close (connection, FALSE);
   g_signal_connect (connection, "closed",
       G_CALLBACK (gdbus_closed_cb), mainloop);
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-telepathy/telepathy-glib-1.git



More information about the Pkg-telepathy-commits mailing list