Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Multiple tokens race condition #2

Open
klan opened this issue May 29, 2017 · 0 comments
Open

Multiple tokens race condition #2

klan opened this issue May 29, 2017 · 0 comments
Assignees
Labels

Comments

@klan
Copy link
Member

klan commented May 29, 2017

STEPS:

  1. Clear IndexedDB / unregister SWs
  2. Reload and toggle subscription button immediately

ISSUE:
Toggle button will activate and then deactivate immediately. Multiple tokens are generated (see screendump) when creating a new token. Toggling while tokens are being generated will subscribe "incorrect" device.

Screendumps:
Tested on localhost; console output shows multiple tokens, log viewer shows wrong token being subscribed
screen shot 2017-05-29 at 17 23 44
screen shot 2017-05-29 at 17 23 58

@klan klan added the bug label May 29, 2017
@klan klan self-assigned this May 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant