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
fix(cdk/overlay): avoid leaking memory through afterNextRender (#29709)
The `OverlayRef` was triggering an `afterEachRender` and passing in an `EnvironmentInjector`. Under the hood this uses a `DestroyRef` that is never destroyed, because the `EnvironmentInjector` is almost never destroyed.
These changes add an explicit `destroy` call to avoid the issue.
Fixes#29696.
(cherry picked from commit 3a62ab1)
0 commit comments