Update 'trashtalker.py'

This commit is contained in:
Maff 2019-04-29 13:31:00 +00:00
parent f88bff4c93
commit 5d3209ce0c
1 changed files with 9 additions and 5 deletions

View File

@ -131,11 +131,15 @@ def PjDeinit():
global sipport global sipport
global lib global lib
lib.hangup_all() lib.hangup_all()
acct.delete() try:
lib.destroy() acct.delete()
acct=None lib.destroy()
transport=None acct=None
lib=None transport=None
lib=None
except AttributeError:
elog(1, "deinit", "AttributeError when clearing down pjsip, this is likely fine")
pass