No, it intercepts Ctrl-C (SIGINT) and allows normal script termination. According to this, gpiozero does not require any explicit cleanup as long as the script terminates normally. My guess is that gpiozero uses a atexit handler to cleanup GPIO.Not sure how that will help, it merely prevents the code from being Ctrl-C exited once running.
Statistics: Posted by NotRequired — Sun Apr 28, 2024 9:19 am