Skip to content

Commit 29e6f01

Browse files
Simple repair of broken resubscribe. Easy fix, but still needs testing.
Fixes #3
1 parent 17b9d6c commit 29e6f01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,7 @@ private Completable subscribePath(String destinationPath, @Nullable List<StompHe
289289

290290
private Completable unsubscribePath(String dest) {
291291
mStreamMap.remove(dest);
292+
mTopics.remove(dest);
292293

293294
String topicId = mTopics.get(dest);
294295
Log.d(TAG, "Unsubscribe path: " + dest + " id: " + topicId);

0 commit comments

Comments
 (0)