[Bug 47322] [next] GCancellables for all async calls
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Mar 21 09:14:19 CET 2012
https://bugs.freedesktop.org/show_bug.cgi?id=47322
--- Comment #9 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2012-03-21 01:14:19 PDT ---
(In reply to comment #5)
> (In reply to comment #4)
> > My understanding was that once you call cancel, your other callback is
> > guaranteed to never be called
>
> No, in GIO (unlike older bits of telepathy-glib) your callback is *always*
> called with either success or error. Cancellables don't change that.
>
> If the cancellable was cancelled, the operation might fail with
> G_IO_ERROR_CANCELLED, or it might succeed or fail with some other error anyway.
In this case, are we suppose to compleet the operation in idle or not. 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.
--
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