mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
There was a race condition where drafts could be either saving or queued to be saved and a user canceled draft leading to destroying it. This cancels debounce save and waits for save in the pipeline to be over prior to firing off a DELETE on the draft