diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-26 15:06:34 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2009-11-26 15:06:34 +0000 |
commit | 2c7bff966e6f114236b8bd2b6d11cefb64c64083 (patch) | |
tree | 23baf499bfdf8100bfca168e9fa050f716a5ab1c /src | |
parent | cb38a29c521fc6a7f5b91ac707fea75015233c65 (diff) |
Unset debug-sender log handler before unreffing the global debug sender
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!
Diffstat (limited to 'src')
-rw-r--r-- | src/gabble.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gabble.c b/src/gabble.c index 992d12e08..18ce1ac51 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 |