Skip to content

Commit 1de1f15

Browse files
fix(ios): also call bridge.reset() on webViewWebContentProcessDidTerminate (#8143)
Co-authored-by: Mark Anderson <[email protected]>
1 parent 62bd16f commit 1de1f15

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ios/Capacitor/Capacitor/WebViewDelegationHandler.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ open class WebViewDelegationHandler: NSObject, WKNavigationDelegate, WKUIDelegat
159159

160160
open func webViewWebContentProcessDidTerminate(_ webView: WKWebView) {
161161
CAPLog.print("⚡️ WebView process terminated")
162+
bridge?.reset()
162163
webView.reload()
163164
}
164165

0 commit comments

Comments
 (0)