fix #194090. fix cell decoration memory leak (#200786)

This commit is contained in:
Peng Lyu
2023-12-13 14:03:20 -08:00
committed by GitHub
parent c3e2394a7f
commit ef1bd59897

View File

@@ -716,6 +716,7 @@ export class NotebookViewModel extends Disposable implements EditorFoldingStateD
if (handle !== undefined) {
const cell = this.getCellByHandle(handle);
cell?.deltaCellDecorations([id], []);
this._decorationIdToCellMap.delete(id);
}
});