Bug 17739

Summary: Disconnect process should be async
Product: Telepathy Reporter: Sjoerd Simons <sjoerd>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Sjoerd Simons 2008-09-23 09:16:43 UTC
When a client calls disconnect Gabble and Salut need to nicely close the xmpp connection(s). This involves waiting for a message from the other side and also that untill it's correctly closed new data might still arrive (such as text messages). 

Suggested implementation is to add a disconnect hook, which if implemented causes tp-glib to _not_ change the connection status to disconnected, but instead defer that to the CM, so it can decide when it's the right time to do that.
Comment 1 GitLab Migration User 2019-12-03 19:22:54 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/5.

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.