-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
fix: ensure we clear ios view. #9671
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
Conversation
This has been like this for a long time without explanation. And it has side effects like here #7469. It does not seem to have any side effects from my tests.
This reverts commit 6a60b83. We identified issues with this change that cause errors in `onUnloaded()` callbacks.
|
Reverted this change as it was causing errors when showing/hiding views in the hierarchy. We've seen different instances of similar errors caused by this change. We should definitely re-visit this and figure out why these errors happen. A few errors caused by this change |
|
I believe the cause of these errors might be something deeper, like unloaded being called multiple times. The view is already deleted, there's no reason to why unloaded was called. Also, the delegates are always deleted on unloaded which I don't think is the correct approach |
|
@rigor789 we might need to revisit this. would you by any chance have a reproducible example of the errors which made you revert this ? |


This has been like this for a long time without explanation. And it has side effects like here #7469.
It does not seem to have any side effects from my tests.
I open this as draft right now but we should be able to release this