mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
The shell had been calling PlatformView::ReleaseResourceContext every time a shell instance shuts down in order to clear the EGL context from the IO thread. But there may be other spawned shells that are also using the same IO manager and IO task runner. If the task that calls ReleaseResourceContext runs after the other shells call CreateResourceContext, then the IO thread will be left without an EGL context. That will cause errors in operations like image decoding that need to invoke OpenGL ES APIs on the IO thread. See https://github.com/flutter/flutter/issues/171213
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: