fix #127667
This commit is contained in:
parent
a43f1f4695
commit
3fd98f7e92
1 changed files with 0 additions and 5 deletions
|
@ -64,11 +64,6 @@ export class TerminalEditorService extends Disposable implements ITerminalEditor
|
|||
}
|
||||
}));
|
||||
this._register(this.onDidDisposeInstance(instance => this.detachInstance(instance)));
|
||||
this._register(this._editorService.onDidCloseEditor(e => {
|
||||
if (e.editor instanceof TerminalEditorInput && e.editor.terminalInstance) {
|
||||
this.detachInstance(e.editor.terminalInstance);
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
private _getActiveTerminalEditors(): IEditorInput[] {
|
||||
|
|
Loading…
Reference in a new issue