remove overzealous assert

pull/1/head
Michael Kirk 8 years ago
parent 2a4e113c82
commit 39e5875a36

@ -1043,10 +1043,8 @@ protocol CallServiceObserver: class {
AssertIsOnMainThread() AssertIsOnMainThread()
guard let call = self.call else { guard let call = self.call else {
// This should never happen; return to a known good state. // This can happen after a call has ended. Reproducible on iOS11, when the other party ends the call.
owsFail("\(TAG) call was unexpectedly nil in \(#function)") Logger.info("\(TAG) ignoring mute request for obsolete call")
OWSProdError(OWSAnalyticsEvents.callServiceCallMissing(), file:#file, function:#function, line:#line)
handleFailedCurrentCall(error: CallError.assertionError(description:"\(TAG) call unexpectedly nil in \(#function)"))
return return
} }

Loading…
Cancel
Save