Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mReconnectAttempts issue #62

Open
chopikboy opened this issue Feb 2, 2016 · 1 comment
Open

mReconnectAttempts issue #62

chopikboy opened this issue Feb 2, 2016 · 1 comment
Labels

Comments

@chopikboy
Copy link

Method onClose (Meteor.java 148). I think mReconnectsAttempts can't be more than 1. Because we increase this one only if lostConnection == true, and lostConnection is true only after we do mConnected = true, but we do mConnected = true only in one place - onOpen() (Meteor.java 140), where we also do mReconnectAttempts = 0.

@ocram ocram added the bug label Feb 23, 2016
@ocram
Copy link
Contributor

ocram commented Feb 23, 2016

Thank you very much, and sorry for the late reply!

You're right :) Is there anything you would suggest as a fix?

Just remove lostConnection and the check for lostConnection to be true?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants