[Bug 47322] [next] GCancellables for all async calls

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 22 14:05:44 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=47322

--- Comment #12 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2012-03-22 06:05:44 PDT ---
Well, the designed way was that a GAsyncResult would have a reference on the
callback context. For sure this will delay dispose until all the async method
have been callback, and the CANCELLED error is to tell you so.

You can use WeakRef is you absolutely need to dispose now (e.g. you're a
GStreamer element going to NULL), but imho in Telepathy this is never required.
We do it this way in Psyke btw.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list