-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix problem with null VirtualView in HybridVewHandler on iOS #26928
Conversation
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
src/Core/src/Handlers/HybridWebView/HybridWebViewHandler.iOS.cs
Outdated
Show resolved
Hide resolved
Co-authored-by: Matthew Leibowitz <[email protected]>
The correct syntax to mark the issue #26833 as fixed by this PR is:
(Your link does not work) |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Do we know whats the case that this is called without a VirtualView? can we add a test? |
@mattleibow now should be good. U used |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Maybe a test would be to show a page with a hybrid view, start some JS operation and then navigate back? How reliable is this? A manual call to DisconnectHandler may also be a trigger... @michalpobuta can you repro this issue in a simple page example where you call JS and then manually trigger a dispose before the JS finishes? |
Description of Change
Checking if Handler has container before using VirtualView which can crash app if is null
Issues Fixed
Fixes #26883