Commit c35111c8 authored by Ghislain MARY's avatar Ghislain MARY

Fix crash when resuming a paused call.

parent cb67a676
......@@ -438,10 +438,11 @@ namespace Linphone.Model
/// </summary>
public void ResumeCurrentCall()
{
if (LinphoneCore.GetCallsNb() > 0)
{
LinphoneCall call = LinphoneCore.GetCurrentCall();
LinphoneCore.ResumeCall(call);
foreach (LinphoneCall call in LinphoneCore.GetCalls()) {
if (call.GetState() == LinphoneCallState.Paused)
{
LinphoneCore.ResumeCall(call);
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment