diff --git a/src/component-loader/component-loader.class.ts b/src/component-loader/component-loader.class.ts index a6e46f5eb5..b4f12e97e1 100644 --- a/src/component-loader/component-loader.class.ts +++ b/src/component-loader/component-loader.class.ts @@ -229,6 +229,7 @@ export class ComponentLoader { this._componentRef?.destroy(); this._contentRef = void 0; + this._componentRef.destroy(); this._componentRef = void 0; this._removeGlobalListener();