pubsubclient
pubsubclient copied to clipboard
this commit fixes #64
this commit fixes #64 OTA over MQTT
Remove pub.payload_stream()->stop();
Do NOT stop the client connection because the (WiFi) Client hold in class Publish is NOT ref counted. It is only a pointer. Closing it will count ref to 0 and close the TCP connection.