()
| 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"} |
nothing calls this directly
no outgoing calls
no test coverage detected