src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts/TerminalTaskSystem/_removeFromActiveTasks
class TerminalTaskSystem:	private _removeFromActiveTasks(task: Task): void {
		if (!this._activeTasks[task.getMapKey()]) {
			return;
		}
		delete this._activeTasks[task.getMapKey()];
		this._removeInstances(task);
	}