Skip to content

Conversation

@chrisbianca
Copy link
Contributor

I have found that it is possible for the first auth event to be fired before the listeningForAuth check returns true. This results in the event not being transmitted to the front end, so is effectively lost.

This is a simple PR to set a boolean flag instead of relying on the reference to indicate whether the class is listeningForAuth;

@chrisbianca chrisbianca changed the title Prevent race condition with listenForAuth Prevent race condition with listenForAuth (iOS) Oct 28, 2016
@auser auser merged commit 7229109 into fullstackreact:master Oct 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants