[next] telepathy-glib: test-base-client: unregister the client before destroying it
Simon McVittie
smcv at kemper.freedesktop.org
Wed Sep 17 06:17:26 PDT 2014
Module: telepathy-glib
Branch: next
Commit: fa2c39466d796cecf81caceb46051d214c664cc3
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=fa2c39466d796cecf81caceb46051d214c664cc3
Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date: Mon May 12 14:28:09 2014 +0200
test-base-client: unregister the client before destroying it
Prevent a warning from tp_base_client_dispose() if the client didn't notice
that its channels are gone and so complain it's still handling them.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=77882
Reviewed-by: Simon McVittie
---
tests/dbus/base-client.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/dbus/base-client.c b/tests/dbus/base-client.c
index caa904e..3c5b82b 100644
--- a/tests/dbus/base-client.c
+++ b/tests/dbus/base-client.c
@@ -241,6 +241,7 @@ teardown (Test *test,
tp_dbus_connection_release_name (test->dbus, TP_CHANNEL_DISPATCHER_BUS_NAME,
NULL);
+ tp_base_client_unregister (test->base_client);
g_object_unref (test->base_client);
g_object_unref (test->client);
More information about the telepathy-commits
mailing list