diff --git a/src/material/badge/badge.ts b/src/material/badge/badge.ts index 74789e31d8cc..0bf93ecded3b 100644 --- a/src/material/badge/badge.ts +++ b/src/material/badge/badge.ts @@ -173,9 +173,7 @@ export class MatBadge implements OnInit, OnDestroy { appRef.onDestroy(() => { badgeApps.delete(appRef); - if (badgeApps.size === 0) { - componentRef.destroy(); - } + componentRef.destroy(); }); }