Skip to content

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

3 participants