Skip to content

Commit 16c4ec8

Browse files
committed
Actually dispose the disposables
1 parent ee08be3 commit 16c4ec8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/vs/workbench/contrib/positronPlots/browser/components/plotsContainer.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ export const PlotsContainer = (props: PlotContainerProps) => {
129129
notify()
130130
}, 500);
131131

132-
return () => clearTimeout(debounceTimer);
132+
return () => {
133+
clearTimeout(debounceTimer);
134+
disposables.dispose();
135+
};
133136
}, [plotWidth, plotHeight, props.positronPlotsService]);
134137

135138
/**

0 commit comments

Comments
 (0)