Skip to content

[DevTools] Clean up Virtual Instances from id map #34063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 31, 2025

Conversation

sebmarkbage
Copy link
Collaborator

This was a pretty glaring memory leak. 🙈

I forgot to clean up the VirtualInstances from the id map so the Server Component instances always leaked in DEV.

@sebmarkbage sebmarkbage requested review from eps1lon and hoxyq July 31, 2025 04:20
@meta-cla meta-cla bot added the CLA Signed label Jul 31, 2025
@github-actions github-actions bot added the React Core Team Opened by a member of the React Core Team label Jul 31, 2025
@sebmarkbage sebmarkbage merged commit c260b38 into facebook:main Jul 31, 2025
248 checks passed
github-actions bot pushed a commit to code/lib-react that referenced this pull request Aug 3, 2025
This was a pretty glaring memory leak. 🙈

I forgot to clean up the VirtualInstances from the id map so the Server
Component instances always leaked in DEV.

DiffTrain build for [c260b38](facebook@c260b38)
github-actions bot pushed a commit to code/lib-react that referenced this pull request Aug 3, 2025
This was a pretty glaring memory leak. 🙈

I forgot to clean up the VirtualInstances from the id map so the Server
Component instances always leaked in DEV.

DiffTrain build for [c260b38](facebook@c260b38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants