eclipse / paho.mqtt.m2mqtt

Eclipse Public License 1.0
512 stars 303 forks source link

issue #66 CPU leaks when connection failing #77

Closed ngducnghia closed 6 years ago

ngducnghia commented 6 years ago

this PR (https://github.com/eclipse/paho.mqtt.m2mqtt/pull/6) have similar fix for exception. In either case (exception or failing to connect), isRunning need to set to false to get out of loop while (this.isRunning)