Skip to main content

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

Hi Jesper,

I'm working on a number of issues with similar behaviour in the underlying MQTT client library which is where I think the problem lies.  I hope to have a new release out soon.

On 20/12/2018 13:04, Jesper Falk wrote:
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


_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/paho-dev
-- 
Ian Craggs
icraggs@xxxxxxxxxx                 IBM United Kingdom
Eclipse Paho Project Lead & Mosquitto Committer

Back to the top