Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(badge): badge instances not being cleaned up on destroy (#14265)
Fixes the `MatBadge` instances not being collected once the view is destroyed. The issue comes from the fact that when an element is created through the `Renderer2`, Angular adds it to an index (see `DebugRenderer2`), however we never tell it that it should be removed.
- Loading branch information