mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-30 01:39:20 +00:00
Set current call = null earlier when pausing.
This commit is contained in:
parent
72a5086327
commit
bb2582f220
1 changed files with 1 additions and 1 deletions
|
|
@ -2525,10 +2525,10 @@ int linphone_core_pause_call(LinphoneCore *lc, LinphoneCall *call)
|
|||
if (lc->vtable.display_warning)
|
||||
lc->vtable.display_warning(lc,_("Could not pause the call"));
|
||||
}
|
||||
lc->current_call=NULL;
|
||||
linphone_call_set_state(call,LinphoneCallPausing,"Pausing call");
|
||||
if (lc->vtable.display_status)
|
||||
lc->vtable.display_status(lc,_("Pausing the current call..."));
|
||||
lc->current_call=NULL;
|
||||
if (call->audiostream || call->videostream)
|
||||
linphone_call_stop_media_streams (call);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue