mirror of
https://github.com/flutter/flutter
synced 2024-10-13 11:42:54 +00:00
2ba0deb77a
Some APIs (such as the ones in package:test) assume you're running in a child zone of the test zone by attempting to extract information from the zone values. When we run runAsync() in the root zone, those zone values are lost, and such API methods don't work. The solution is to run in a child zone, but with a specification that says to use the Root zone for task scheduling (both timers and microtakss). |
||
---|---|---|
.. | ||
lib | ||
test | ||
BUILD.gn | ||
pubspec.yaml |