Skip to content

fix: memory leak in output view#221605

Merged
sandy081 merged 6 commits intomicrosoft:mainfrom
SimonSiefke:fix/memory-leak-output-view
Oct 15, 2025
Merged

fix: memory leak in output view#221605
sandy081 merged 6 commits intomicrosoft:mainfrom
SimonSiefke:fix/memory-leak-output-view

Conversation

@SimonSiefke
Copy link
Contributor

This fixes a memory leak in the output view by reusing the input variable (created a few lines above) instead of creating another input which seems not needed and causing the memory leak.

Before

When selecting different options in the output view ~200 times, an error message about a potential listener leak is displayed:

error-message

After

When selecting different options in the output view ~200 times, no error message is displayed:

after

@sandy081 sandy081 added this to the October 2025 milestone Oct 15, 2025
@sandy081 sandy081 enabled auto-merge (squash) October 15, 2025 08:28
@sandy081 sandy081 merged commit 8d8a293 into microsoft:main Oct 15, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 30, 2025
@SimonSiefke SimonSiefke deleted the fix/memory-leak-output-view branch January 15, 2026 15:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants