MCPcopy Create free account
hub / github.com/FastLED/FastLED / _restore_and_exit

Function _restore_and_exit

tests/measure_esp32s3_opt_ins.py:439–441  ·  view source on GitHub ↗
(*_: object)

Source from the content-addressed store, hash-verified

437 backup_platformio_ini()
438
439 def _restore_and_exit(*_: object) -> None:
440 restore_platformio_ini(keep_backup=args.keep_platformio_ini_backup)
441 sys.exit(130)
442
443 signal.signal(signal.SIGINT, _restore_and_exit)
444 if hasattr(signal, "SIGTERM"):

Callers

nothing calls this directly

Calls 1

restore_platformio_iniFunction · 0.85

Tested by

no test coverage detected