fix(core): cleanup `_ejsa` when app is destroyed (#59492) · angular/angular@f6e9776 · GitHub
Skip to content

Commit f6e9776

Browse files
arturovtAndrewKushnir
authored andcommitted
fix(core): cleanup _ejsa when app is destroyed (#59492)
In this commit, we delete `_ejsa` when the app is destroyed, ensuring that no elements are still captured in the global list and are not prevented from being garbage collected. PR Close #59492
1 parent c51c66e commit f6e9776

2 files changed

Lines changed: 48 additions & 2 deletions

File tree

‎packages/core/src/hydration/event_replay.ts‎

Lines changed: 13 additions & 1 deletion

‎packages/platform-server/test/event_replay_spec.ts‎

Lines changed: 35 additions & 1 deletion

0 commit comments

Comments
 (0)