Index: runtime/lib/isolate_patch.dart |
diff --git a/runtime/lib/isolate_patch.dart b/runtime/lib/isolate_patch.dart |
index a4daac25455b6c0475f14869c3c94e981f941cb9..2280aa9c7ae943464cb9362347ca228016c7c944 100644 |
--- a/runtime/lib/isolate_patch.dart |
+++ b/runtime/lib/isolate_patch.dart |
@@ -136,7 +136,7 @@ class _SendPortImpl implements SendPort { |
} |
Future call(var message) { |
- final completer = new Completer(); |
+ final completer = new Completer.sync(); |
final port = new _ReceivePortImpl(); |
send(message, port.toSendPort()); |
port.receive((value, ignoreReplyTo) { |