Ahh, thanks - yes, this looks like an emulator bug.
I guess because the emulator can't 'Buzz' it's not implemented, so a promise gets made and returns but it is never resolved and stays in memory
@Gordon started
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.
Ahh, thanks - yes, this looks like an emulator bug.
I guess because the emulator can't 'Buzz' it's not implemented, so a promise gets made and returns but it is never resolved and stays in memory