Skip to content

Commit 6258363

Browse files
committed
Fix reconnection
1 parent a30945c commit 6258363

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/main/java/ua/naiksoftware/stomp/WebSocketsConnectionProvider.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public void onMessage(String message) {
9393

9494
@Override
9595
public void onClose(int code, String reason, boolean remote) {
96+
haveConnection = false;
9697
emitLifecycleEvent(new LifecycleEvent(LifecycleEvent.Type.CLOSED));
9798
}
9899

0 commit comments

Comments
 (0)