The OAuthService doesn't clean up all used resources when it is destroyed #665
Labels
bug
For tagging faulty or unexpected behavior.
investigation-needed
Indication that the maintainer or involved community members may need to investigate more.
Describe the bug
If you destroy the
OAuthService
, for instance through destroying the angular app, the attached event listeners and the sessionCheckTimer will still continue to run.Stackblitz example
https://angular-abivfc.stackblitz.io/
To Reproduce
Steps to reproduce the behavior:
Expected behavior
All timers, events and elements that the
OAuthService
created should be stopped or removed when the angular app is destroyed and the framework callsngOnDestroy
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: