Skip to content

[FIX] Disconnect#91

Merged
ggazzo merged 1 commit intomultiple-clientsfrom
fix.disconnect
Aug 13, 2019
Merged

[FIX] Disconnect#91
ggazzo merged 1 commit intomultiple-clientsfrom
fix.disconnect

Conversation

@diegolmello
Copy link
Copy Markdown
Member

Close socket wasn't working as expected.

  • this.unsubscribeAll() executes a Promise.all() that may fail (and it does).
  • In intentional disconnections, cleared timeouts and intervals that would keep trying to reconnect.

@ggazzo ggazzo merged commit 0a49d67 into multiple-clients Aug 13, 2019
@ggazzo ggazzo deleted the fix.disconnect branch August 13, 2019 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants