Bug 13583

Summary: dbus signals are not disconnected if TpProxy is invalidated
Product: Telepathy Reporter: Xavier Claessens <xclaesse>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Xavier Claessens 2007-12-10 03:56:54 UTC
Using tpGlibClient branch of Empathy's git repository, if I set presence to offline the set back to available Empathy crash.

This is because empathy uses weak_object to disconnect MembersChanged signal, but when the EmpathyTpGroup object is finalized the TpProxy is already invalidated so tp_proxy_signal_connection_disconnect() calls tp_proxy_borrow_interface_by_id() which returns NULL and the signal is not disconnected.
Comment 1 Simon McVittie 2007-12-13 07:55:46 UTC
Fixed in Darcs, will be in 0.7.1.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.