Skip to content

Commit 2b35e1e

Browse files
authored
Don't dispose diff zone widgets when hiding them. (#197528)
fixes microsoft/vscode-copilot#2617 fixes microsoft/vscode-copilot#2627
1 parent b2df0c4 commit 2b35e1e

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vs/workbench/contrib/inlineChat/browser/inlineChatStrategies.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,6 @@ export class LivePreviewStrategy extends LiveStrategy {
421421
if (!diff || diff.changes.length === 0) {
422422
for (const zone of this._diffZonePool) {
423423
zone.hide();
424-
zone.dispose();
425424
}
426425
return;
427426
}

0 commit comments

Comments
 (0)