Skip to content

Leaks! (#293200) - #293308

Merged
Benjamin Pasero (bpasero) merged 1 commit into
mainfrom
ben/diverse-swordfish
Feb 6, 2026
Merged

Benjamin Pasero (bpasero) merged 1 commit into
mainfrom
ben/diverse-swordfish

Conversation

@bpasero

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 6, 2026 06:44
@vs-code-engineering vs-code-engineering Bot added this to the February 2026 milestone Feb 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a memory leak in the Snap update service by ensuring the shutdown event handler is registered as a one-time listener using Event.once().

Changes:

  • Wrapped onWillShutdown event handler with Event.once() to prevent memory leak from repeated subscriptions

@bpasero
Benjamin Pasero (bpasero) merged commit 9ad359c into main Feb 6, 2026
27 of 28 checks passed
@bpasero
Benjamin Pasero (bpasero) deleted the ben/diverse-swordfish branch February 6, 2026 07:06
David Dossett (daviddossett) pushed a commit to daviddossett/vscode that referenced this pull request Feb 7, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Mar 23, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants