Index: runtime/lib/isolate_patch.dart |
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart |
index 94f226291954a6c3bd38e3f442697e4667646dbb..0e2c0b44d7a121958807d2d3c380c282846844fd 100644 |
--- a/runtime/lib/isolate_patch.dart |
+++ b/runtime/lib/isolate_patch.dart |
@@ -40,7 +40,10 @@ class _ReceivePortImpl extends Stream implements ReceivePort { |
{ Function onError, |
void onDone(), |
bool cancelOnError }) { |
- return _controller.stream.listen(onData); |
+ return _controller.stream.listen(onData, |
+ onError: onError, |
+ onDone: onDone, |
+ cancelOnError: cancelOnError); |
} |
close() { |