PelionIoT / mbed-connector-api-python

python library for using connector.mbed.com
Apache License 2.0
2 stars 2 forks source link

connector.startLongPolling() blocks #10

Closed janjongboom closed 8 years ago

janjongboom commented 8 years ago

I was not expecting startLongPolling to block...

Especially given that in the README we do stuff after calling startLongPolling

janjongboom commented 8 years ago

Nevermind

BlackstoneEngineering commented 8 years ago

longpolling does not block, it spins up a seperate thread that is a subprocess of the existing process. Thus when you exit your current window the longpolling thread will be killed as well.

janjongboom commented 8 years ago

Yeah that's why I closed it, the web library blocked.