me-no-dev / RasPiArduino

Arduino Framework for RaspberryPI
327 stars 76 forks source link

Unable to terminate a sketch with a CTRL+C #42

Closed nkolban closed 8 years ago

nkolban commented 8 years ago

When we run some sketches that don't return control at the end of loop() and we supply a SIGINT via CTRL+C, the execution of the sketch does not terminate.

nkolban commented 8 years ago

The fix was to change the loop termination of the sketch from __loop_is_running to __keep_sketch_running. The change was made and tested and seems to have resolved the original issue.

nkolban commented 8 years ago

There may be additional items that may change as a result of this issue. Re-opening until such time as we have validated that nothing else needs be changed.