Skip to content

AbstractChatAttachmentWidget leaks #249003

@bpasero

Description

@bpasero

I opened the chat panel running OSS having vscode folder opened:

lifecycle.js:23 [LEAKED DISPOSABLE] Error: CREATED via:
    at GCBasedDisposableTracker.trackDisposable (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/lifecycle.js:27:23)
    at trackDisposable (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/lifecycle.js:198:24)
    at new Disposable (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/base/common/lifecycle.js:393:9)
    at new AbstractChatAttachmentWidget (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/workbench/contrib/chat/browser/chatAttachmentWidgets.js:57:9)
    at new DefaultChatAttachmentWidget (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/workbench/contrib/chat/browser/chatAttachmentWidgets.js:345:9)
    at InstantiationService._createInstance (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/platform/instantiation/common/instantiationService.js:130:24)
    at InstantiationService.createInstance (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/platform/instantiation/common/instantiationService.js:101:27)
    at vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/…/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js:68:52
    at Array.forEach (<anonymous>)
    at ChatAttachmentsContentPart.initAttachedContext (vscode-file://vscode-app/Users/bpasero/Development/Microsoft/vscode/out/vs/…/contrib/chat/browser/chatContentParts/chatAttachmentsContentPart.js:48:24)

Metadata

Metadata

Assignees

Labels

freeze-slow-crash-leakVS Code crashing, performance, freeze and memory leak issuesinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions