I think if Gadgetbridge somehow doesn't receive the last 'packet' (I'm unsure on terminology) it wont get state=="end" so wont go into this if-statement where .unsetBusytask() should have been called.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think if Gadgetbridge somehow doesn't receive the last 'packet' (I'm unsure on terminology) it wont get
state=="end"
so wont go into this if-statement where.unsetBusytask()
should have been called.