Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS webview no dealloc #3498

Closed
zdpdsy opened this issue Jul 18, 2024 · 1 comment
Closed

iOS webview no dealloc #3498

zdpdsy opened this issue Jul 18, 2024 · 1 comment

Comments

@zdpdsy
Copy link

zdpdsy commented Jul 18, 2024

Hi Team, i find some question in webview,The RNCWKWebView not dealloc,i find the reason after debug。
destroyWebView(602 line in RNCWebViewImpl.m)Code will never be executed because RNCWebViewImpl.m don't change to RNCWebViewImpl.mm,mean is RCT_NEW_ARCH_ENABLED it always return false。

the solution is: change RNCWebViewImpl.m to RNCWebViewImpl.mm

image

react-native:0.73.0
"react-native-webview": "13.10.5",

@MatthiasDh
Copy link

facebook/react-native#43088

@zdpdsy zdpdsy closed this as completed Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants