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.
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.