Skip to content
  • Dan Williams's avatar
    dispatcher: robustify canceling dispatcher calls · 286e926e
    Dan Williams authored
    Thomas pointed out that using the address of the DispatcherInfo
    structure as the dispatcher call ID could cause a mis-cancelation
    if malloc re-used the same block in the future.  While the code
    should be correctly clearing call IDs after the callback runs
    or is canceled, just use numeric IDs to avoid potential crashses.
    286e926e