• Marek Vavrusa's avatar
    worker: fixed corruption when follower timeouts, early free · 22965f08
    Marek Vavrusa authored
    * when enqueued task terminated earlier than leader
      task because of timeout, it wasn't dequeued from
      the waitlist immediately, but it didn't have any
      outstanding outbound queries. when leader task
      terminated, it removed this task and updated its
      outbound query, which didn't exist. this triggered
      a 16B write in undefined location
    * fixed timeout timer being scheduled for closing
      without holding reference to parent task
    22965f08