Skip to content

Commit d6eba9b

Browse files
authored
1 parent 8a4163d commit d6eba9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vs/workbench/contrib/chat/browser/chatListRenderer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ class TreePool extends Disposable {
12021202
}
12031203

12041204
private treeFactory(): WorkbenchCompressibleAsyncDataTree<IChatResponseProgressFileTreeData, IChatResponseProgressFileTreeData, void> {
1205-
const resourceLabels = this.instantiationService.createInstance(ResourceLabels, { onDidChangeVisibility: this._onDidChangeVisibility });
1205+
const resourceLabels = this._register(this.instantiationService.createInstance(ResourceLabels, { onDidChangeVisibility: this._onDidChangeVisibility }));
12061206

12071207
const container = $('.interactive-response-progress-tree');
12081208
this._register(createFileIconThemableTreeContainerScope(container, this.themeService));
@@ -1262,7 +1262,7 @@ class ContentReferencesListPool extends Disposable {
12621262
}
12631263

12641264
private listFactory(): WorkbenchList<IChatContentReference> {
1265-
const resourceLabels = this.instantiationService.createInstance(ResourceLabels, { onDidChangeVisibility: this._onDidChangeVisibility });
1265+
const resourceLabels = this._register(this.instantiationService.createInstance(ResourceLabels, { onDidChangeVisibility: this._onDidChangeVisibility }));
12661266

12671267
const container = $('.chat-used-context-list');
12681268
this._register(createFileIconThemableTreeContainerScope(container, this.themeService));

0 commit comments

Comments
 (0)