Commit 2edb3ad1 authored by Sylvain Berfini's avatar Sylvain Berfini

Fix crash when trying to schedule a VoipCallPushNotif when the limit is exceded

parent 0c16b9f1
...@@ -216,9 +216,16 @@ namespace Linphone ...@@ -216,9 +216,16 @@ namespace Linphone
} }
} }
incomingCallTask = new VoipHttpIncomingCallTask(incomingCallTaskName, pushChannelName); try
incomingCallTask.Description = "Incoming call task"; {
ScheduledActionService.Add(incomingCallTask); incomingCallTask = new VoipHttpIncomingCallTask(incomingCallTaskName, pushChannelName);
incomingCallTask.Description = "Linphone incoming call task";
ScheduledActionService.Add(incomingCallTask);
}
catch (Exception)
{
}
} }
private const string keepAliveTaskName = "Linphone.KeepAliveTask"; private const string keepAliveTaskName = "Linphone.KeepAliveTask";
......
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