mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
This is a fix for bug #1325. The test framework is running the test code as a microtask using DartInvokeAppClosure. If the test causes a compilation error, the test framework Dart code can not catch it. The invocation in sky_shell will return a compilation error handle. The sky_shell process will not shut down, and the test framework will hang. This change will cause sky_shell to shut down on a compilation error in the test microtask.