Closed ngducnghia closed 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)
while (this.isRunning)
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)