mirror of
https://github.com/dart-lang/sdk
synced 2024-09-19 20:51:50 +00:00
9b901bc21f
In some cases, such as file system exceptions, ExpressionCompilerWorker fails to start but does not close its receiver port, which causes the consumer to wait indefinitely for responses. Make ExpressionCompilerWorker communicate the failure to the consumer, close the receiver port, and exit. Added tests to verify graceful exit. Issue that uncovered the bug: https://b.corp.google.com/issues/183218372 Change-Id: I54a9c3620cfc5f77c101b26b4e98b6eeb03ad7e1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192260 Commit-Queue: Anna Gringauze <annagrin@google.com> Reviewed-by: Gary Roumanis <grouma@google.com> Reviewed-by: Nicholas Shahan <nshahan@google.com> |
||
---|---|---|
.. | ||
dartdevc.dart |