Re #190503. Dispose notebook land tests properly.

This commit is contained in:
rebornix
2023-09-07 12:59:17 -07:00
parent 5a400e53e9
commit 47111caea9
12 changed files with 168 additions and 173 deletions

View File

@@ -152,7 +152,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
private readonly _onDidChangeSelection = this._register(new Emitter<string>());
get onDidChangeSelection(): Event<string> { return this._onDidChangeSelection.event; }
private _selectionCollection = new NotebookCellSelectionCollection();
private _selectionCollection = this._register(new NotebookCellSelectionCollection());
private get selectionHandles() {
const handlesSet = new Set<number>();