Skip to content

v1.2.7

Choose a tag to compare

@vedgenerac vedgenerac released this 18 Feb 07:38
· 6 commits to main since this release
4ecce6e
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