GNOME Bugzilla – Bug 764781
no g_simple_async_result_set_check_cancellable call in the generated code
Last modified: 2017-01-22 12:15:26 UTC
Without calling said function, there might be a race condition between the check and when the callback is called. An example of such "racy" generated code is tracker (tracker-direct.c).
Carlos ported Vala's code generator to use GTask instead of GSimpleAsync result. GTask-using code doesn't have this problem because it checks the GCancellable by default. Also, GTask has been around for a long enough time, that nobody should need to GSimpleAsyncResult any more. *** This bug has been marked as a duplicate of bug 763345 ***