Imroy / pubsubclient

A client library for the ESP8266 that provides support for MQTT
MIT License
433 stars 115 forks source link

this commit fixes #64 #78

Open THKDev opened 7 years ago

THKDev commented 7 years ago

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.