From 4fc21e1068e583a41efeb187e9e399a078edca3a Mon Sep 17 00:00:00 2001 From: Johannes Rieken Date: Tue, 7 Jan 2025 12:59:05 +0100 Subject: [PATCH] chore - fix leaking disposable (#237391) --- .../chat/browser/chatContentParts/chatMarkdownContentPart.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.ts b/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.ts index aad084c2bb288..44c0c0dbb6b46 100644 --- a/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.ts +++ b/src/vs/workbench/contrib/chat/browser/chatContentParts/chatMarkdownContentPart.ts @@ -287,7 +287,7 @@ class CollapsedCodeBlock extends Disposable { return this._uri; } - private readonly _progressStore = new DisposableStore(); + private readonly _progressStore = this._store.add(new DisposableStore()); constructor( sessionId: string,