Skip to content

Commit

Permalink
Revert "fix(android): Unset mWebChromeClient on WebViewManager rather…
Browse files Browse the repository at this point in the history
… than WebView (react-native-webview#1720)"

This reverts commit c95c0ea.
  • Loading branch information
fmshmebaby committed Apr 21, 2022
1 parent 5e73b20 commit a310bc0
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -762,7 +762,6 @@ public void onDropViewInstance(WebView webView) {
super.onDropViewInstance(webView);
((ThemedReactContext) webView.getContext()).removeLifecycleEventListener((RNCWebView) webView);
((RNCWebView) webView).cleanupCallbacksAndDestroy();
mWebChromeClient = null;
}

public static RNCWebViewModule getModule(ReactContext reactContext) {
Expand Down

0 comments on commit a310bc0

Please sign in to comment.