Update 'trashtalker.py'

This commit is contained in:
Maff 2019-04-29 13:33:02 +00:00
parent 5d3209ce0c
commit f1675fd1f5
1 changed files with 3 additions and 0 deletions

View File

@ -176,6 +176,9 @@ def main():
elog(1, "pjsip-error", "trashtalker encountered pjsip exception %s" % str(e)) elog(1, "pjsip-error", "trashtalker encountered pjsip exception %s" % str(e))
mainloop=False mainloop=False
pass pass
except KeyboardInterrupt:
mainloop=False
pass
olog(1, "deinit", "main loop exited, shutting down") olog(1, "deinit", "main loop exited, shutting down")
PjDeinit() PjDeinit()
olog(1, "deinit-complete", "trashtalker has shut down") olog(1, "deinit-complete", "trashtalker has shut down")