You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
fix($rootScope): fix potential memory leak when removing scope listeners
When removing listeners they are removed from the array but the array size is not changed
until the event is fired again. If the event is never fired but listeners are added/removed then
the array will continue growing.
By changing the listener removal to `delete` the array entry instead of setting it to `null`
browsers can potentially deallocate the memory for the entry.
Fixes#16135
0 commit comments