Permalink
Browse files

Call onDisconnected() not onConnected() when closing socket

Reviewed By: javache

Differential Revision: D4953631

fbshipit-source-id: 578d212b19f7364346ea2ae8f3e52438ffc378bd
  • Loading branch information...
emilsjolander authored and facebook-github-bot committed Apr 26, 2017
1 parent 066bebb commit aaab0e967403c48070f8c47d6fa9c6f514e05cf7
@@ -114,7 +114,7 @@ public void closeQuietly() {
mMessageCallback = null;
if (mConnectionCallback != null) {
mConnectionCallback.onConnected();
mConnectionCallback.onDisconnected();
}
}

0 comments on commit aaab0e9

Please sign in to comment.