• Todd Volkert's avatar
    Make runAsync() run in child zone, not root zone (#17359) · 2ba0deb7
    Todd Volkert authored
    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).
    2ba0deb7
Name
Last commit
Last update
.github/ISSUE_TEMPLATE Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.coveralls.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...