It's possible the disconnect isn't instant and so NRF.restart doesn't get called.
Strange that when you are still connected it tell you this BLE Connected, queueing BLE restart for later and so it is actually not called at all after disconnect? Because this didn't work too.
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.
Strange that when you are still connected it tell you this
BLE Connected, queueing BLE restart for later
and so it is actually not called at all after disconnect? Because this didn't work too.