Took out the second g.reset() and it still hung, at 19220 this time. I have previously had the app hang without RAM Widget loaded so the fact that it hangs with the Bluetooth widget displayed would seem to implicate Battery Level Widget (with percentage). Running another test just now, will see if I can get anywhere with Ctrl-C.
edit: I see suspicion about Battery Level Widget is growing :D
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.
Took out the second g.reset() and it still hung, at 19220 this time. I have previously had the app hang without RAM Widget loaded so the fact that it hangs with the Bluetooth widget displayed would seem to implicate Battery Level Widget (with percentage). Running another test just now, will see if I can get anywhere with Ctrl-C.
edit: I see suspicion about Battery Level Widget is growing :D