提交 cc6d174f 编写于 作者: A Alex Ross

Add task end fire so that executions are cleaned up

Fixes #81777
上级 1cd8dce1
......@@ -488,6 +488,8 @@ export class TerminalTaskSystem implements ITaskSystem {
this.currentTask.resolvedVariables = resolvedVariables;
return this.executeInTerminal(task, trigger, new VariableResolver(workspaceFolder, systemInfo, resolvedVariables.variables, this.configurationResolverService), workspaceFolder);
} else {
// Allows the taskExecutions array to be updated in the extension host
this._onDidStateChange.fire(TaskEvent.create(TaskEventKind.End, task));
return Promise.resolve({ exitCode: 0 });
}
}, reason => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册