Index: sdk/lib/isolate/isolate_stream.dart |
diff --git a/sdk/lib/isolate/isolate_stream.dart b/sdk/lib/isolate/isolate_stream.dart |
index 0f0f63fc9e530c615c5e1ec1183c88f9de333203..f16271e1982c6fadbe6f4302626b4d1920d97592 100644 |
--- a/sdk/lib/isolate/isolate_stream.dart |
+++ b/sdk/lib/isolate/isolate_stream.dart |
@@ -38,7 +38,7 @@ external bool _isCloseToken(var object); |
class IsolateStream extends Stream<dynamic> { |
bool _isClosed = false; |
final ReceivePort _port; |
- StreamController _controller = new StreamController(); |
+ StreamController _controller = new StreamController(sync: true); |
IsolateStream._fromOriginalReceivePort(this._port) { |
_port.receive((message, replyTo) { |