Index: sdk/lib/_internal/pub/lib/src/error_group.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/error_group.dart b/sdk/lib/_internal/pub/lib/src/error_group.dart |
index a6f9e861d179e12173dd2e292be4c7e186095af4..51fb27db7b59651b7a58c644a7e0cb8d34e097e2 100644 |
--- a/sdk/lib/_internal/pub/lib/src/error_group.dart |
+++ b/sdk/lib/_internal/pub/lib/src/error_group.dart |
@@ -239,7 +239,7 @@ class _ErrorGroupStream extends Stream { |
/// Creates a new [_ErrorGroupFuture] that's a child of [_group] and wraps |
/// [inner]. |
_ErrorGroupStream(this._group, Stream inner) |
- : _controller = new StreamController() { |
+ : _controller = new StreamController(sync: true) { |
this._stream = inner.isBroadcast |
? _controller.stream.asBroadcastStream() |
: _controller.stream; |