Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Paho Android Service, Unable to disconnect

Hey! I have come to some problems using disconnect() in the Android Service Lib... My code is as follows (fairly standard) https://hastebin.com/dicakudixa.java
It seems like the waitForCompleteion never gets released and the process is halted for ever. This is know since the "MQTT Disconnected!" message is never printed. Can anyone help me figure out what I am doing wrong? This should be fairly straight forward...
I can also add that without waiting for token to complete I get the same error as this issue on github https://github.com/eclipse/paho.mqtt.android/issues/313
--

// Jesper Falk


Back to the top