Try to add trace to your program, and stop it after 3 runs. trace would print the inner state, and provide some information an what's wrong. I'd guess the module would not clean up everything.
If using line 1 doesn't give any hints try line 2, and finally line 3.
console.log(global["\xFF"].timers); //print only timers, short info
trace(global["\xFF"].timers); //print only timers, full info
trace(); //prints full info
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.
Try to add
trace
to your program, and stop it after 3 runs. trace would print the inner state, and provide some information an what's wrong. I'd guess the module would not clean up everything.If using line 1 doesn't give any hints try line 2, and finally line 3.