GNOME Bugzilla – Bug 646960
GSimpleAsyncResult should not be created in callback
Last modified: 2011-04-26 15:31:45 UTC
Created attachment 185364 [details] [review] Don't allocated GSimpleAsync from async callback As GSimpleAsyncResult saves default thread context, it's slightly risky to create it in the callback of another async function. An object could by example be implemented in a way that it always reply in the context where it was created from, regardless the context of the call, and chaining an async call. As this is still very vague, I'm attaching a patch fixing this type of calling GDbusProxy. Note that until bug #646957, this cannot really cause any harm as chaining GIO calls always end up being replied on the main default context.
I think we're going with 646957, which makes this unnecessary *** This bug has been marked as a duplicate of bug 646957 ***