Added signal handler and interface detachment oon exit.

This commit is contained in:
Mark Qvist 2021-09-24 16:09:07 +02:00
parent 81cdb0b7e6
commit 3d4ac0126b
5 changed files with 33 additions and 3 deletions

View file

@ -108,4 +108,7 @@ def prettyhexrep(data):
return hexrep
def panic():
os._exit(255)
os._exit(255)
def exit():
sys.exit(0)