Skip to content
This repository has been archived by the owner on May 24, 2022. It is now read-only.

Fix light.setApi race condition #416

Merged
merged 1 commit into from
Feb 8, 2019
Merged

Fix light.setApi race condition #416

merged 1 commit into from
Feb 8, 2019

Conversation

axelchalon
Copy link
Contributor

@axelchalon axelchalon commented Feb 8, 2019

Fix race condition (fixes #333)
Replaces closes #412

Can reproduce/test by disabling getting the token from localStorage in parityStore and adding a few seconds of delay after calling this.setToken in requestNewToken in parityStore (crashes on master but not on this branch).

Copy link
Collaborator

@amaury1093 amaury1093 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@amaury1093 amaury1093 merged commit ebb39a4 into master Feb 8, 2019
@amaury1093 amaury1093 deleted the ac-setapi branch February 8, 2019 15:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
2 participants