Update 'trashtalker.py'
This commit is contained in:
parent
f88bff4c93
commit
5d3209ce0c
|
@ -131,11 +131,15 @@ def PjDeinit():
|
||||||
global sipport
|
global sipport
|
||||||
global lib
|
global lib
|
||||||
lib.hangup_all()
|
lib.hangup_all()
|
||||||
|
try:
|
||||||
acct.delete()
|
acct.delete()
|
||||||
lib.destroy()
|
lib.destroy()
|
||||||
acct=None
|
acct=None
|
||||||
transport=None
|
transport=None
|
||||||
lib=None
|
lib=None
|
||||||
|
except AttributeError:
|
||||||
|
elog(1, "deinit", "AttributeError when clearing down pjsip, this is likely fine")
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue