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
buildroot
Build environment for the Flutter engine
This repository is used by the flutter/engine repository. For instructions on how to use it, see that repository's CONTRIBUTING.md file.
To update your checkout to use the latest buildroot, run gclient sync.
To submit patches to this buildroot repository, create a branch, push to that branch, then submit a PR on GitHub for that branch.
To point the engine to a new version of buildroot after your patch is merged, update the buildroot hash in the engine's DEPS file.