Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make _activeTasks synchronous wrt _executeTask #180617

Merged
merged 14 commits into from
May 4, 2023
4 changes: 1 addition & 3 deletions src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -600,9 +600,7 @@ export class TerminalTaskSystem extends Disposable implements ITaskSystem {
});
}
}).finally(() => {
const commonKey = task.getCommonTaskId();
liveDependencies.delete(commonKey);
encounteredTasks.delete(commonKey);
liveDependencies.delete(task.getCommonTaskId());
meganrogge marked this conversation as resolved.
Show resolved Hide resolved
if (this._activeTasks[mapKey] === activeTask) {
delete this._activeTasks[mapKey];
}
Expand Down