We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb70195 commit cfd6bbdCopy full SHA for cfd6bbd
realtime/src/main/java/cn/leancloud/session/AVConnectionManager.java
@@ -316,7 +316,6 @@ public void onOpen(WebSocketClient client) {
316
LOGGER.d("webSocket(client=" + client + ") established...");
317
connectionEstablished = true;
318
retryConnectionCount = 0;
319
- resetConnectingStatus(true);
320
321
// auto send login packet.
322
if (!AVIMOptions.getGlobalOptions().isDisableAutoLogin4Push()) {
@@ -331,6 +330,9 @@ public void onOpen(WebSocketClient client) {
331
330
}
332
333
initSessionsIfExists();
+
334
+ resetConnectingStatus(true);
335
336
for (AVConnectionListener listener: connectionListeners.values()) {
337
listener.onWebSocketOpen();
338
0 commit comments