Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race condition with restoration of problems when closing a file
Fixes microsoft#47386 This sets the `flushOnListenerRemove` option to true for the call to Event.debounce. Without this, some `onMarkerChanged` events can get dropped -- specifically, when an event gets fired more than 100ms after first listening, in which case the 600ms cleanup setTimeout fires while the 500ms debounce timeout is still pending.
- Loading branch information