[telepathy-gabble/master] Unset debug-sender log handler before unreffing the global debug sender
Simon McVittie
simon.mcvittie at collabora.co.uk
Thu Nov 26 07:06:34 PST 2009
Otherwise, TpProxy destruction messages triggered by the death of the
global debug sender (as it probably holds the last ref to the
TpDBusDaemon) will be debug-logged through our custom log handler, which
asserts that the global debug sender still exists!
---
src/gabble.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/gabble.c b/src/gabble.c
index 992d12e..18ce1ac 100644
--- a/src/gabble.c
+++ b/src/gabble.c
@@ -144,6 +144,7 @@ gabble_main (int argc,
construct_cm, argc, argv);
#ifdef ENABLE_DEBUG
+ g_log_set_default_handler (g_log_default_handler, NULL);
g_object_unref (debug_sender);
#endif
--
1.5.6.5
More information about the telepathy-commits
mailing list