Skip to content

fix: memory leak in folding#269071

Merged
aeschli merged 1 commit intomicrosoft:mainfrom
SimonSiefke:fix/memory-leak-folding
Sep 30, 2025
Merged

fix: memory leak in folding#269071
aeschli merged 1 commit intomicrosoft:mainfrom
SimonSiefke:fix/memory-leak-folding

Conversation

@SimonSiefke
Copy link
Contributor

Untitled

When typing many characters, one can see the number of functions in FoldingController.triggerFoldingModelChanged growing each time.

Registering the delayer disposable seems to solve the issue.

@aeschli aeschli enabled auto-merge September 30, 2025 17:42
@vs-code-engineering vs-code-engineering bot added this to the September 2025 milestone Sep 30, 2025
@aeschli aeschli merged commit 17a3d8d into microsoft:main Sep 30, 2025
17 checks passed
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Nov 14, 2025
@SimonSiefke SimonSiefke deleted the fix/memory-leak-folding branch January 15, 2026 15:59
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