Repository: vscode
Issue: [1c0] potential listener LEAK detected, having 175 listeners already. MOST frequent listener (1):
Labels: bug,error-telemetry,freeze-slow-crash-leak,panel-chat

```javascript
Error
at u.create in src/vs/base/common/event.ts:933:15
at S.q [as onDidChange] in src/vs/base/common/event.ts:1140:34
at new d in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:170:33
at I in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:42:43
at register in src/vs/editor/contrib/semanticTokens/browser/documentSemanticTokens.ts:69:5
at l.B in src/vs/base/common/event.ts:1242:13
at l.C in src/vs/base/common/event.ts:1253:9
at l.fire in src/vs/base/common/event.ts:1277:9
at w.createModel in src/vs/editor/common/services/modelService.ts:453:22
at le.provideTextContent in src/vs/workbench/contrib/chat/browser/codeBlockPart.ts:457:29
at a.u in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:187:33
at a.r in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:78:15
at a.b in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:38:15
at a.acquire in src/vs/base/common/lifecycle.ts:650:43
at I.acquire in src/vs/base/common/lifecycle.ts:680:40
at c.createModelReference in src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts:238:42
at f.getOrCreate in src/vs/workbench/contrib/chat/common/codeBlockModelCollection.ts:60:37
at f.update in src/vs/workbench/contrib/chat/common/codeBlockModelCollection.ts:90:22
at ye.<anonymous> in src/vs/workbench/contrib/chat/common/chatViewModel.ts:315:35
at ye.walkTokens in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2143:1
at Te.walkTokens in out-vscode/vs/workbench/vs/base/common/marked/marked.js:2466:1
at u.updateCodeBlockTextModels in src/vs/workbench/contrib/chat/common/chatViewModel.ts:311:10
at u.m in src/vs/workbench/contrib/chat/common/chatViewModel.ts:288:8
at <anonymous> in src/vs/workbench/contrib/chat/common/chatViewModel.ts:240:10
at Array.forEach (<anonymous>)
at new u in src/vs/workbench/contrib/chat/common/chatViewModel.ts:234:24
at f.o in src/vs/platform/instantiation/common/instantiationService.ts:162:18
at f.createInstance in src/vs/platform/instantiation/common/instantiationService.ts:128:18
at z.setModel in src/vs/workbench/contrib/chat/browser/chatWidget.ts:677:46
at m.s in src/vs/workbench/contrib/chat/browser/chatViewPane.ts:113:16
at m.W in src/vs/workbench/contrib/chat/browser/chatViewPane.ts:172:9
at m.render in src/vs/base/browser/ui/splitview/paneview.ts:285:9
at m.render in src/vs/workbench/browser/parts/views/viewPane.ts:436:9
at z.tb in src/vs/workbench/browser/parts/views/viewPaneContainer.ts:796:9
at z.create in src/vs/workbench/browser/parts/views/viewPaneContainer.ts:538:9
at z.create in src/vs/workbench/browser/panecomposite.ts:48:26
at T.Eb in src/vs/workbench/browser/parts/compositePart.ts:235:14
at T.Eb in src/vs/workbench/browser/parts/paneCompositePart.ts:230:9
at T.Cb in src/vs/workbench/browser/parts/compositePart.ts:158:8
at T.Bb in src/vs/workbench/browser/parts/compositePart.ts:122:15
at T.Bc in src/vs/workbench/browser/parts/paneCompositePart.ts:483:15
at T.openPaneComposite in src/vs/workbench/browser/parts/paneCompositePart.ts:457:16
at m.run in src/vs/workbench/browser/parts/paneCompositeBar.ts:772:32
at k.u in src/vs/base/common/actions.ts:194:16
at k.run in src/vs/base/common/actions.ts:185:15
at T.onClick in src/vs/base/browser/ui/actionbar/actionViewItems.ts:173:21
at HTMLLIElement.<anonymous> in src/vs/base/browser/ui/actionbar/actionViewItems.ts:153:10
```
[Go to Errors Site](https://errors.code.visualstudio.com/card?ch=4849ca9bdf9666755eb463db297b69e5385090e3&bH=b5b9dfcc-086e-50f5-473a-6c295248b3a0)