Closed floitsch closed 2 years ago
If we get into a reconnect state, don't try to reuse the existing connection. There is usually a reason we try to reconnect and it's safer to just let the transport reestablish a fresh connection.
Apparently did an auto-merge. Doing a follow-up PR.
https://github.com/toitware/mqtt/pull/61
If we get into a reconnect state, don't try to reuse the existing connection. There is usually a reason we try to reconnect and it's safer to just let the transport reestablish a fresh connection.