Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActiveState/code
/ recipe-533117.py
File
recipe-533117.py
recipes/Python/533117_Cleaning_up_when_killed/recipe-533117.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
#!/usr/bin/env python
2
3
from
signal
import
signal, SIGTERM
4
from
sys
import
exit
Callers
nothing calls this directly
Calls
3
sleep
Function · 0.85
exit
Function · 0.50
register
Method · 0.45
Tested by
no test coverage detected