Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Comments

[android] enqueue platform views for deletion.#54296

Closed
jonahwilliams wants to merge 8 commits intoflutter:mainfrom
jonahwilliams:fix_thread_safety_android_pv
Closed

[android] enqueue platform views for deletion.#54296
jonahwilliams wants to merge 8 commits intoflutter:mainfrom
jonahwilliams:fix_thread_safety_android_pv

Conversation

@jonahwilliams
Copy link
Contributor

@jonahwilliams jonahwilliams commented Aug 1, 2024

Attempted fix for thread unsafety. Defer destruction of platform view until end of platform view frame, persist as long as platform view is present in composition order like iOS does:

https://github.com/flutter/engine/blob/main/shell/platform/darwin/ios/framework/Source/FlutterPlatformViews.mm#L941-L945

@jonahwilliams jonahwilliams marked this pull request as ready for review August 1, 2024 21:54
jonahwilliams added 2 commits August 2, 2024 09:17
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants