dispose test disposable

This commit is contained in:
Aaron Munger
2023-09-15 15:36:03 -07:00
parent 339fedbd3a
commit 012e79d53c
@@ -430,7 +430,7 @@ export function createNotebookCellList(instantiationService: TestInstantiationSe
};
const notebookOptions = !!viewContext ? viewContext.notebookOptions
: new NotebookOptions(instantiationService.get(IConfigurationService), instantiationService.get(INotebookExecutionStateService), false);
: disposables.add(new NotebookOptions(instantiationService.get(IConfigurationService), instantiationService.get(INotebookExecutionStateService), false));
const cellList: NotebookCellList = disposables.add(instantiationService.createInstance(
NotebookCellList,
'NotebookCellList',