Skip to content

Commit 7fb1a59

Browse files
author
Nickolay Savchenko
committed
Fix disconnect
1 parent f5c6484 commit 7fb1a59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public void connect(@Nullable List<StompHeader> _headers) {
126126

127127
case CLOSED:
128128
Log.d(TAG, "Socket closed");
129+
getConnectionStream().onNext(false);
129130
disconnect();
130131
break;
131132

0 commit comments

Comments
 (0)