MCPcopy
hub / github.com/ray-project/ray / atexit_handler

Method atexit_handler

python/ray/_private/node.py:525–526  ·  view source on GitHub ↗
(*args)

Source from the content-addressed store, hash-verified

523 # Register the atexit handler. In this case, we shouldn't call sys.exit
524 # as we're already in the exit procedure.
525 def atexit_handler(*args):
526 self.kill_all_processes(check_alive=False, allow_graceful=True)
527
528 atexit.register(atexit_handler)
529

Callers

nothing calls this directly

Calls 1

kill_all_processesMethod · 0.95

Tested by

no test coverage detected