Skip to content
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

Reclaim element id for all removed nodes #3782

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

gammahead
Copy link

@gammahead gammahead commented Feb 21, 2025

element ids associated with nodes removed via fn remove_nested_dyn_nodes are never reclaimed. This causes references to them to hang around, leading to unbounded growth of detached DOM nodes for applications that dynamically add and remove nodes frequently

fixes #3760

@gammahead gammahead requested a review from a team as a code owner February 21, 2025 04:18
@gammahead gammahead changed the title reclaim el id for nested dyn nodes Reclaim element id for all removed nodes Feb 24, 2025
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.

Memory leak/Detached DOM nodes when node is removed
1 participant