You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Handling connection lost (#21)
* Updating onConnectionLost handler
* Handle connection loss and manage automatic reconnect
Added logic to disable automatic reconnect when it's disabled.
* Improve cleanup logic in connectionLost method
Refactor connectionLost method to improve cleanup logic when autoReconnect is disabled.
* Prevent nulling MQTT client on disconnect
Updated logic to prevent nulling the MQTT client on disconnect.
* Updating onConnectionLost handler