Skip to content

Commit 600c295

Browse files
committed
reconnection loop should happen again whenever disconnected state is reached
1 parent 269b8b3 commit 600c295

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/pusher/client/connection/websocket/WebSocketConnection.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ public void run() {
323323
factory.shutdownThreads();
324324
}
325325
});
326+
reconnectAttempts = 0;
326327
}
327328

328329
@Override

0 commit comments

Comments
 (0)