slegarraga opened a new pull request, #426: URL: https://github.com/apache/fineract-backoffice-ui/pull/426
## What Closes #423. `HeaderComponent` now implements `OnDestroy`, holds the interval id in a nullable field, and clears it on destroy. ## Why The header is destroyed and rebuilt whenever the user leaves the authenticated layout — sign-out is the ordinary case. The uncleared interval kept ticking forever, holding a closure over the destroyed component's `renderTime` signal, one more per re-login, still firing in background tabs. This was the only `setInterval` in `src/app`; with this change none survive their host. ## Verification - `npm run lint` clean - `ng build` succeeds - Unit suite: **431 passed**, with the same single pre-existing failure (`loan-portfolio-summary`) present on main with and without this change — unrelated to this fix -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
