Skip to content

address disposable for permission picker#312307

Merged
justschen merged 1 commit intomainfrom
justin/amaura
Apr 24, 2026
Merged

address disposable for permission picker#312307
justschen merged 1 commit intomainfrom
justin/amaura

Conversation

@justschen
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings April 24, 2026 06:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Ensures the chat permission picker’s disposal listener is tracked as a disposable so it’s properly cleaned up with the ChatInputPart, preventing lingering event subscriptions.

Changes:

  • Register the PermissionPickerActionItem.onDidDispose listener via this._register(...) so it’s disposed with ChatInputPart.
Show a summary per file
File Description
src/vs/workbench/contrib/chat/browser/widget/input/chatInputPart.ts Tracks the permission picker disposal listener in the owning disposable store to avoid leaking listeners.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@justschen justschen enabled auto-merge (squash) April 24, 2026 06:13
@justschen justschen merged commit 0c13e3e into main Apr 24, 2026
30 checks passed
@justschen justschen deleted the justin/amaura branch April 24, 2026 06:33
@vs-code-engineering vs-code-engineering Bot added this to the 1.118.0 milestone Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants