Skip to content
Snippets Groups Projects
Commit 0cc37a36 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

calls: remove pending call upon timeout

Remove a call from the list of pending calls if a connection
has not been established by the time the timeout period expires.

Change-Id: Ibfe66291ff0b57e1296009cf2803baa07a35dd3a
parent 83fed1cb
No related branches found
No related tags found
No related merge requests found
......@@ -83,6 +83,8 @@ extension CallsProviderService {
let transaction = CXTransaction(action: endCallAction)
self.requestTransaction(transaction)
}
} else if let call = getUnhandeledCall(UUID: callUUID) {
unhandeledCalls.remove(call)
}
// Send request end call to CallKit.
let endCallAction = CXEndCallAction(call: callUUID)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment