[Bug 23639] Port to Wocky
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Sep 2 14:41:08 CEST 2009
http://bugs.freedesktop.org/show_bug.cgi?id=23639
--- Comment #3 from Will Thompson <will.thompson at collabora.co.uk> 2009-09-02 05:41:08 PST ---
Tests:
+ if conn.GetStatus() == cs.CONN_STATUS_CONNECTED:
+ # Connection is connected, properly disconnect it
+ disconnect_conn(queue, conn, stream)
+ else:
+ # Connection is not connected, call Disconnect() to destroy it
+ conn.Disconnect()
I don't get this: if the connection's not connected, it could be either
CONNECTING (in which case, Disconnect() works) or DISCONNECTED (in which case,
Disconnect() is either redundant (it's about to die anyway) or not right (if
the connection hasn't started connecting yet, does Disconnect() kill it?)
+ /* It appears that dbus-glib registers a filter that wrongly returns
+ * DBUS_HANDLER_RESULT_HANDLED for signals, so for *our* filter to have any
+ * effect, we need to install it as soon as possible */
Did you file a bug?
main() in main-debug.c never unrefs its TpDBusDaemon.
Why is the Disconnected filter necessary, anyway?
--
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list