moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

timeout and idleStart function executing multiple times #106

Open ZahraFatima opened 5 years ago

ZahraFatima commented 5 years ago

I'm submitting a ... (check one with "x")

[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior Timeout and IdleStart function executing multiple times, sometimes its executing twice and sometimes its 6 times too. This results in multiple logout calls on timeout and multiple warning messages on idleStart.

Please Advice.

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Prinsn commented 4 years ago

Angular 7

I'm currently looking into a case when in one deployed environment, onTimeoutWarning is firing in excess of 100 times.

Currently have no information to offer (as I have no idea, am currently researching).

Works correctly in all testing environments except where it is occurring.