Closed roupify closed 7 years ago
Two issues is fix by this pull request. The first one is related by the bug #36. The second one is when we use LocalStorageExpiry and AutoResume.notIdle, onIdleEnd is not emit in each tab. This bug is resolve by adding in the localstorage a key "idling", and our idle will check on storage event if idling value have changed.
Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x")
What is the current behavior? (You can also link to an open issue here) LocalStorageExpiry -> last() with null value throws error because null.getTime() doesn't exists
What is the new behavior? Add some validation on parameters to check if param is null. If null, remove key on localStorge, otherwise, set key
Does this PR introduce a breaking change? (check one with "x")
If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information: