diff --git a/support-portal-frontend/src/app/component/login/login.component.ts b/support-portal-frontend/src/app/component/login/login.component.ts index 11120bb..15b7777 100644 --- a/support-portal-frontend/src/app/component/login/login.component.ts +++ b/support-portal-frontend/src/app/component/login/login.component.ts @@ -58,6 +58,7 @@ export class LoginComponent implements OnInit, OnDestroy { } ngOnDestroy(): void { + this.subscriptions.forEach(sub => sub.unsubscribe()); } private sendErrorNotification(message: string) {