Skip to content

catch SIGINT so we can Ctrl+C to close camera.js on the terminal

影月 零 requested to merge (removed):catch_SIGINT into dev

Catch SIGINT events in camera.js.

This is NOT a graceful shutdown - I'm not sure what should be done to gracefully clean up and shut down the script so for the moment this is essentially a kludge. Maybe at worst add a TODO comment to add clean-up code later if you merge this.

Merge request reports