mirror of
https://github.com/status-im/react-native-webview.git
synced 2026-08-31 03:31:05 +00:00
fix(android): Unset mWebChromeClient on WebViewManager rather than WebView (#1720)
This commit is contained in:
@@ -693,6 +693,7 @@ public class RNCWebViewManager extends SimpleViewManager<WebView> {
|
||||
super.onDropViewInstance(webView);
|
||||
((ThemedReactContext) webView.getContext()).removeLifecycleEventListener((RNCWebView) webView);
|
||||
((RNCWebView) webView).cleanupCallbacksAndDestroy();
|
||||
mWebChromeClient = null;
|
||||
}
|
||||
|
||||
public static RNCWebViewModule getModule(ReactContext reactContext) {
|
||||
|
||||
Reference in New Issue
Block a user