mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This pull request is a manual cherry pick of https://github.com/flutter/flutter/pull/172871 after I had trouble updating the automatic cherry pick pull request (https://github.com/flutter/flutter/pull/175595). ### Issue Link: What is the link to the issue this cherry-pick is addressing? https://github.com/flutter/flutter/issues/172105 ### Changelog Description: Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples Fixes issue in iOS add-to-app where Flutter view may hang after multiple transitions. ### Impact Description: What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch) App may hang after transitioning between multiple pages on iOS. ### Workaround: Is there a workaround for this issue? No ### Risk: What is the risk level of this cherry-pick? - [x] Low - [ ] Medium - [ ] High ### Test Coverage: Are you confident that your fix is well-tested by automated tests? - [x] Yes - [ ] No ### Validation Steps: What are the steps to validate that this fix works? Using https://github.com/flutter/samples/tree/main/add_to_app/fullscreen * Launch a Flutter screen * Dismiss or pop the Flutter screen to return to native * Repeat the process several times (open Flutter, close, then open again) * Flutter screen should not freeze Co-authored-by: gaaclarke <30870216+gaaclarke@users.noreply.github.com>
Flutter Engine
Setting up the Engine development environment
See here
gclient bootstrap
Flutter engine uses gclient to manage dependencies.
If you've already cloned the flutter repository: