提交 8b207a96 编写于 作者: B Benjamin Pasero

dispose _onDidChangeDirty on editor dispose

上级 e9711141
......@@ -133,6 +133,7 @@ export abstract class EditorInput extends EventEmitter implements IEditorInput {
* resolving the editor input.
*/
public dispose(): void {
this._onDidChangeDirty.dispose();
this.disposed = true;
this.emit('dispose');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册