Created
March 31, 2020 20:20
-
-
Save chuchao333/920aa6c90697ea0f06ca24939aed67f0 to your computer and use it in GitHub Desktop.
curator-525-potential-fix
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void validateConnection(KeeperState sate, bool fromCodeToState) { | |
... | |
else if (state == Watcher.Event.KeeperState.Expired) | |
{ | |
if (fromCodeToState && client.isConnected()) | |
// ignore | |
else | |
// fire a LOST as it is now | |
connectionStateManager.addStateChange(ConnectionState.LOST); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment