golden-layout: Closed panel element stay indefinitely on Detached DOM tree
I’m using Angular with Golden-layout, and using $compile to put my directives in the html I can get everything to work as expected.
However, using Profiling Tools from Chrome I noticed than upon closing of a panel the elements are not garbage collected, since all of them stay in the Detached DOM tree, even after waiting for a while. This causes my app to get more and more un-responsive.
If I search de DOM for the elements I don’t find them. So upon closing does golden-layout destroy or not the element? And if so, why aren’t mine destroyed?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (8 by maintainers)
I took a look and can see what you mean. I will do some investigation into the code and look for a fix.