mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Don't crash when terminating already terminated call.
This commit is contained in:
parent
490945660d
commit
3ef3935785
1 changed files with 1 additions and 0 deletions
|
|
@ -810,6 +810,7 @@ static void pop_auth_from_exosip() {
|
|||
|
||||
int sal_call_terminate(SalOp *h){
|
||||
int err;
|
||||
if (h == NULL) return -1;
|
||||
if (h->auth_info) push_auth_to_exosip(h->auth_info);
|
||||
eXosip_lock();
|
||||
err=eXosip_call_terminate(h->cid,h->did);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue