From 7b1b532b199b6ee6db271fd834c91cbf29ce9e16 Mon Sep 17 00:00:00 2001 From: Matthew Chen Date: Mon, 18 Sep 2017 16:05:01 -0400 Subject: [PATCH] Respond to CR. // FREEBIE --- Signal/src/call/CallService.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Signal/src/call/CallService.swift b/Signal/src/call/CallService.swift index 30202cc99..4d82d99e0 100644 --- a/Signal/src/call/CallService.swift +++ b/Signal/src/call/CallService.swift @@ -1622,7 +1622,8 @@ protocol CallServiceObserver: class { } let frontmostViewController = UIApplication.shared.frontmostViewControllerIgnoringAlerts - guard nil != frontmostViewController as? CallViewController else { + + guard nil != frontmostViewController as? CallViewController else { OWSProdError(OWSAnalyticsEvents.callServiceCallViewCouldNotPresent(), file:#file, function:#function, line:#line) owsFail("\(TAG) in \(#function) Call terminated due to call view presentation delay: \(frontmostViewController.debugDescription).") self.terminateCall()