dispose _onDidChangeDirty on editor dispose

This commit is contained in:
Benjamin Pasero 2016-06-04 16:29:12 +02:00
parent e971114194
commit 8b207a9655

View file

@ -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');