eclipse / paho.mqtt.m2mqtt

Eclipse Public License 1.0
512 stars 303 forks source link

Set threads as background so they close automatically with the client #127

Open cwenger opened 4 years ago

cwenger commented 4 years ago

If I try to connect a client without a username and password when it's required, there are threads running that prevent my application from shutting down properly. Starting threads in background mode (so they close automatically with the client) fixes this.