summaryrefslogtreecommitdiffstats
path: root/ios
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2020-10-28 09:56:09 +0200
committerTor Lillqvist <tml@iki.fi>2020-10-28 10:50:33 +0200
commit2d6c83cff917d10715f16cd6c604a41c1274306d (patch)
treeb9befb9b448d52b0acbcd1723d074b96a0285f9f /ios
parentMobile: Vex with checkbox: Fix long strings (diff)
downloadonline-2d6c83cff917d10715f16cd6c604a41c1274306d.tar.gz
online-2d6c83cff917d10715f16cd6c604a41c1274306d.zip
Add logging when the WebContent process has died
See https://github.com/CollaboraOnline/online/issues/403 Change-Id: I59012565ac6376d03872fe6e4cd78a5d14be1319 Signed-off-by: Tor Lillqvist <tml@collabora.com> (cherry picked from commit 3a4169a9ebebea56bcdc467691913cd767af878b) Signed-off-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'ios')
-rw-r--r--ios/Mobile/DocumentViewController.mm4
1 files changed, 4 insertions, 0 deletions
diff --git a/ios/Mobile/DocumentViewController.mm b/ios/Mobile/DocumentViewController.mm
index 015f16e7ac..f9d1b0eaa5 100644
--- a/ios/Mobile/DocumentViewController.mm
+++ b/ios/Mobile/DocumentViewController.mm
@@ -270,6 +270,10 @@ static IMP standardImpOfInputAccessoryView = nil;
completionHandler(@"Something happened.");
}
+- (void)webViewWebContentProcessDidTerminate:(WKWebView *)webView {
+ LOG_ERR("WebContent process terminated! What should we do?");
+}
+
- (void)userContentController:(WKUserContentController *)userContentController didReceiveScriptMessage:(WKScriptMessage *)message {
int rc;
struct pollfd p;