From 91f25bec3c48905bccdad4b2ccf6cf67272183ba Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Fri, 17 Nov 2017 17:40:25 -0500 Subject: [PATCH] Remove overzealous assert // FREEBIE --- Signal/src/call/CallService.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Signal/src/call/CallService.swift b/Signal/src/call/CallService.swift index 8223d4549..0aefea38e 100644 --- a/Signal/src/call/CallService.swift +++ b/Signal/src/call/CallService.swift @@ -991,8 +991,10 @@ protocol CallServiceObserver: class { AssertIsOnMainThread() guard let currentCall = self.call else { - OWSProdError(OWSAnalyticsEvents.callServiceCallMissing(), file: #file, function: #function, line: #line) - handleFailedCall(failedCall: call, error: CallError.assertionError(description: "\(TAG) ignoring \(#function) since there is no current call")) + Logger.info("\(TAG) in \(#function), but no current call. Other party hung up just before us.") + + // terminating the call might be redundant, but it shouldn't hurt. + terminateCall() return }