angular-cn/packages/animations/browser/src
crisbeto 835ed0f35f fix(animations): leaking detached nodes when parent has a leave transition (#34409)
In the TransitionAnimationEngine we keep track of the existing elements with animations and we clear the cached data when they're removed. We also have some logic where we transition away the child elements when a parent is removed, however in that case we never cleared the cached element data which resulted in a memory leak. The leak is particularly visible in Material where whenever there's an animated overlay with a component inside of it that has an animation, the child component would always be retained in memory.

Fixes #25744.

PR Close #34409
2019-12-16 12:39:25 -08:00
..
dsl refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
render fix(animations): leaking detached nodes when parent has a leave transition (#34409) 2019-12-16 12:39:25 -08:00
browser.ts refactor(platform-browser): move platform-browser/animations to animations/browser (#15130) 2017-03-14 11:55:49 -07:00
private_export.ts test: migrate remaining public-api tests to Bazel (#22639) 2018-03-09 09:11:40 -08:00
util.ts refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00