pull/65776/head
Benjamin Pasero 2018-12-28 10:47:37 +01:00
parent 2c3eb2364c
commit 8abe73932c
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ export class HistoryService extends Disposable implements IHistoryService {
private clearOnEditorDispose(editor: IEditorInput | IResourceInput | FileChangesEvent, mapEditorToDispose: Map<EditorInput, IDisposable[]>): void {
if (editor instanceof EditorInput) {
const disposables = this.editorHistoryListeners.get(editor);
const disposables = mapEditorToDispose.get(editor);
if (disposables) {
dispose(disposables);
mapEditorToDispose.delete(editor);