Respond to CR.

pull/1/head
Matthew Chen 7 years ago
parent e949d81568
commit ed19949d60

@ -1527,14 +1527,6 @@ private class SignalCallData: NSObject {
terminateCall()
}
public func terminateCallDueToCriticalError() {
SwiftAssertIsOnMainThread(#function)
owsFail("\(logTag) \(#function)")
terminateCall()
}
/**
* Clean up any existing call state and get ready to receive a new call.
*/

@ -68,7 +68,6 @@ extension CallUIAdaptee {
guard self.callService.call == nil else {
owsFail("unexpectedly found an existing call when trying to start outgoing call: \(recipientId)")
self.callService.terminateCallDueToCriticalError()
return
}

Loading…
Cancel
Save