forked from microsoft/vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly synchronise terminalTaskSystem._activeTasks
Fixes microsoft#180578 This fixes the issue by keeping a map of tasks that have been passed to _executeTask, but which haven't yet been added to _activeTasks. Code that needs to synchronise with _activeTasks waits on the corresponding _activatingTasks promise, which will resolve when the task is actually added to _activeTasks (or when an error causes it to not be started).
- Loading branch information
markw65
committed
Apr 21, 2023
1 parent
bede6ba
commit 889dce3
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters