Skip to content

Commit 0fa839d

Browse files
author
Max Presman
committed
disconnect after exhaustion of retries
1 parent a95ef2e commit 0fa839d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎src/main/java/com/pubnub/api/managers/SubscriptionManager.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,9 @@ public void onMaxReconnectionExhaustion() {
102102
.affectedChannelGroups(subscriptionState.prepareChannelGroupList(true))
103103
.build();
104104
listenerManager.announce(pnStatus);
105+
106+
disconnect();
107+
105108
}
106109
});
107110

0 commit comments

Comments
 (0)