From f8a3f17d9ccd14758ba0c0e293d61cb0be39356c Mon Sep 17 00:00:00 2001 From: "Daniel R. Schneider" Date: Mon, 19 Dec 2022 12:03:44 +0100 Subject: [PATCH] SEBMAC-476 Fix crash when WebView is close by Javascript (iOS). --- .../BrowserComponents/SEBiOSWebViewController.m | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SEB/Classes/BrowserComponents/SEBiOSWebViewController.m b/SEB/Classes/BrowserComponents/SEBiOSWebViewController.m index fb530ebed..8c2375952 100644 --- a/SEB/Classes/BrowserComponents/SEBiOSWebViewController.m +++ b/SEB/Classes/BrowserComponents/SEBiOSWebViewController.m @@ -359,11 +359,11 @@ - (void) hideURLFilterMessage #pragma mark - #pragma mark SEBAbstractWebViewNavigationDelegate Methods -//- (void) addWebView:(id)nativeWebView -//{ -// [self.navigationDelegate addWebView:nativeWebView]; -//} -// +- (void) closeWebView:(SEBAbstractWebView *)webView +{ + [self.navigationDelegate closeWebView:webView]; +} + - (void) addWebViewController:(id)webViewController {