Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect disconnections during poll() calls
The Paho-MQTT client may not invoke the 'on_disconnect' callback when used with an external loop, so check for connection loss during calls to loop_misc() and handle it appropriately. Closes #222.
- Loading branch information