![golden_platform_view_multiple_iPhone SE_simulator.png](https://gitcode.net/sxychenjing/engine/-/raw/c63aefd28b0644bc215fb3888df4de8cfefad5f4/testing/scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_iPhone%20SE_simulator.png)
-
由 Amir Hardon 提交于
Having 2 or more platform views simultaneously in the layer tree was crashing immediately on iOS with GL backend. This regressed in #11070 which passed gl_context to a function in a loop using std::move (which meant on the second iteration the caller is no longer the owner of the field). I added a scenarios_app test, though this test doesn't run on a physical device on CI so it would have only caught the problem when running locally (flutter/flutter#43852).
c63aefd2
![golden_platform_view_multiple_iPhone SE_simulator.png](https://gitcode.net/sxychenjing/engine/-/raw/c63aefd28b0644bc215fb3888df4de8cfefad5f4/testing/scenario_app/ios/Scenarios/ScenariosUITests/golden_platform_view_multiple_iPhone%20SE_simulator.png)