提交 a54e78f1 编写于 作者: S Sandeep Somavarapu

Disposing of inputs is taken care by the workbench editor

上级 0865d488
......@@ -70,22 +70,4 @@ export class LogViewer extends AbstractTextResourceEditor {
options.scrollBeyondLastLine = false;
return options;
}
public setInput(input: EditorInput, options?: EditorOptions): TPromise<void> {
if (input.matches(this.input)) {
return TPromise.as(null);
}
if (this.input) {
this.input.dispose();
}
return super.setInput(input, options).then(() => this.revealLastLine());
}
public clearInput(): void {
if (this.input) {
this.input.dispose();
}
super.clearInput();
}
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册