Skip to content
  • Debarshi Ray's avatar
    gtask: Return cancelled tasks asynchronously · 6f3d57d2
    Debarshi Ray authored and Philip Withnall's avatar Philip Withnall committed
    Once cancelled, a GTask's callback should not only be invoked
    asynchronously with respect to the creation of the task, but also with
    respect to the GCancellable::cancelled handler. This is particularly
    relevant in cases where the cancellation happened in the same thread
    where the task is running.
    
    Spotted by Dan Winship and Michael Catanzaro.
    
    Closes #1608
    6f3d57d2