Closed Xasin closed 5 years ago
See CyanRainNin's comment:
So actually the while loop is supposed to run only until a connection is established? How about instead including "retry" in the catch block - that way it's clear that everything until @mqtt.get is not supposed to be constantly looping.
The resub thread was cleaned up nicely, so this ought to be closed!
See CyanRainNin's comment: