MCPcopy Create free account
hub / github.com/Trex099/Velocity-Bridge / kill_self

Function kill_self

Velocity_GUI/src-python/server.py:515–517  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

513 import signal
514
515 def kill_self():
516 time.sleep(1)
517 os.kill(os.getpid(), signal.SIGTERM)
518
519 threading.Thread(target=kill_self).start()
520 return {"status": "shutting_down"}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected