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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 21 12:44:36 CET 2012


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

--- Comment #10 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2012-03-21 04:44:36 PDT ---
(In reply to comment #9)
> In this case, are we suppose to compleet the operation in idle or not.

Same rules as completing any other async op: in an idle, unless you can
guarantee that you're being called directly from the appropriate main context
already.

> Because
> if we don't I don't see how that help for the "please don't call my callback on
> a disposed object" case.

It doesn't. You have to use weak pointers and check for invalidation yourself,
regardless.

-- 
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