mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
46b160e925
Currently the `DebugElement.listeners` array are retained after the node is destroyed. This means that they'll continue to fire through `triggerEventHandler` and can cause memory leaks. This has already been fixed in Ivy, but these changes fix it in ViewEngine for consistency. PR Close #31820