Skip to content

Commit

Permalink
Always keep a promise pending if the signin is requested and it didn'…
Browse files Browse the repository at this point in the history
…t fail.
  • Loading branch information
MeenaAlfons committed Aug 11, 2022
1 parent dd199eb commit 1eaa87b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default class UserFacade extends EventsDispatcher {
}
if (previous ==='connected' && current !== 'connected') {
this._cleanup();
this._newSigninPromiseIfNeeded();
}
});
this.pusher.connection.bind('message', event => {
Expand Down

0 comments on commit 1eaa87b

Please sign in to comment.