We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ad943f commit 2a8371fCopy full SHA for 2a8371f
src/vs/workbench/contrib/terminal/browser/terminalEditorService.ts
@@ -64,9 +64,9 @@ export class TerminalEditorService extends Disposable implements ITerminalEditor
64
}
65
}));
66
this._register(this.onDidDisposeInstance(instance => this.detachInstance(instance)));
67
- this._register(this._editorService.onDidCloseEditor(editor => {
68
- if (editor instanceof TerminalEditorInput && editor.terminalInstance) {
69
- this.detachInstance(editor.terminalInstance);
+ this._register(this._editorService.onDidCloseEditor(e => {
+ if (e.editor instanceof TerminalEditorInput && e.editor.terminalInstance) {
+ this.detachInstance(e.editor.terminalInstance);
70
71
72
0 commit comments