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

Android: ensure that WebView is detached when application context is available #184

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

pklatka
Copy link
Collaborator

@pklatka pklatka commented Apr 16, 2024

Summary

This PR adds a check in onDropViewInstance which ensures that detachWebView is called when the app context is available. A similar check is done in ViewManager.onDropViewInstance when recycling the view.

@pfeiffer
Copy link
Contributor

LGTM.

@pklatka pklatka merged commit c39b145 into main Apr 17, 2024
1 check passed
@pklatka pklatka deleted the check-for-context-existence branch April 17, 2024 08:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants