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

Function force_exit

ci/util/test_env.py:158–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 """Set up a force exit daemon thread"""
157
158 def force_exit() -> None:
159 time.sleep(1)
160 print("Force exit daemon thread invoked")
161 kill_process_tree(os.getpid())
162 os._exit(1)
163
164 daemon_thread = threading.Thread(
165 target=force_exit, daemon=True, name="ForceExitDaemon"

Callers

nothing calls this directly

Calls 2

kill_process_treeFunction · 0.85
printFunction · 0.50

Tested by

no test coverage detected