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

Free memory allocated by testElement after usage #6309

Merged
merged 1 commit into from
Mar 21, 2016
Merged

Free memory allocated by testElement after usage #6309

merged 1 commit into from
Mar 21, 2016

Conversation

victor-homyakov
Copy link
Contributor

IE11 reports testElement as detached DOM node consuming memory. It is captured in closure of setInnerHTML function and could be safely cleared after feature test.

IE11 reports `testElement` as detached DOM node consuming memory. It is captured in closure of `setInnerHTML` function and could be safely cleared after feature test.
@victor-homyakov
Copy link
Contributor Author

image

@zpao
Copy link
Member

zpao commented Mar 21, 2016

👍 Nice find, thanks!

zpao added a commit that referenced this pull request Mar 21, 2016
Free memory allocated by testElement after usage
@zpao zpao merged commit 75e4ef1 into facebook:master Mar 21, 2016
@victor-homyakov victor-homyakov deleted the patch-1 branch March 21, 2016 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants