| Index: utils/pub/error_group.dart
|
| diff --git a/utils/pub/error_group.dart b/utils/pub/error_group.dart
|
| index 5e6baf859f51da72e6fbd29cb3a6cc02441fc689..f579d8ee0d975858f2d661a3b4598f44dfda3e4b 100644
|
| --- a/utils/pub/error_group.dart
|
| +++ b/utils/pub/error_group.dart
|
| @@ -264,7 +264,7 @@ class _ErrorGroupStream extends Stream {
|
| if (_isDone) return;
|
| _subscription.cancel();
|
| // Call these asynchronously to work around issue 7913.
|
| - defer(() {
|
| + new Future.immediate(null).then((_) {
|
| _controller.addError(e.error, e.stackTrace);
|
| _controller.close();
|
| });
|
|
|