提交 a4efb441 编写于 作者: D Daniel Imms

Remove unneeded disposable

Fixes #129074
上级 760080ab
...@@ -215,7 +215,6 @@ export class TerminalEditorService extends Disposable implements ITerminalEditor ...@@ -215,7 +215,6 @@ export class TerminalEditorService extends Disposable implements ITerminalEditor
this._editorInputs.set(inputKey, input); this._editorInputs.set(inputKey, input);
this._instanceDisposables.set(inputKey, [ this._instanceDisposables.set(inputKey, [
instance.onDidFocus(this._onDidFocusInstance.fire, this._onDidFocusInstance), instance.onDidFocus(this._onDidFocusInstance.fire, this._onDidFocusInstance),
toDisposable(() => this._editorInputs.delete(inputKey)),
instance.onDisposed(this._onDidDisposeInstance.fire, this._onDidDisposeInstance) instance.onDisposed(this._onDidDisposeInstance.fire, this._onDidDisposeInstance)
]); ]);
this.instances.push(instance); this.instances.push(instance);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册