mirror of
https://github.com/Microsoft/vscode
synced 2024-09-21 03:30:00 +00:00
dispose _onDidChangeDirty on editor dispose
This commit is contained in:
parent
e971114194
commit
8b207a9655
|
@ -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');
|
||||
|
||||
|
|
Loading…
Reference in a new issue