Skip to content

Commit

Permalink
fix(android): Unset mWebChromeClient on WebViewManager rather than We…
Browse files Browse the repository at this point in the history
…bView (#1720)
  • Loading branch information
hchokshi committed Nov 6, 2020
1 parent 4ec290d commit c95c0ea
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -693,6 +693,7 @@ 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 c95c0ea

Please sign in to comment.