Skip to content

Conversation

@SimonSiefke
Copy link
Contributor

Fixes a memory leak with sources not being cleared when the debug session shuts down.

Before

When debugging a javascript file 37 times, the number of sources grows from ~150 to 6085:

debug-javascript-step-original

After

When debugging a javascript file 37 times, while there still seem to be some memory leaks, the number of sources stays constant:

debug-javascript-step

@connor4312 connor4312 merged commit 2e63bd5 into microsoft:main Dec 16, 2025
17 checks passed
@SimonSiefke SimonSiefke deleted the fix/memory-leak-debug-session branch January 15, 2026 15:06
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.

4 participants