Example 9
Example 9: DOM leaks bigger than expected
- Start memory profiling. Watch node count.
-
Create a subtree of dom nodes and save a reference to a leaf and subtree
route
- Detach tree
- Watch the detached node count
- Remove tree reference
- Watch the detached node count
- Remove leaf reference
- Watch the detached node count