| Index: sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| index db10b541fe487444fbcb5c3a8b55274582f348e5..cf639f272800d376d8128b0cef508417a815e84a 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/lib/isolate_helper.dart
|
| @@ -614,7 +614,7 @@ class IsolateNatives {
|
| // TODO(sigmund): clean up above, after we make the new API the default:
|
|
|
| static spawn(String functionName, String uri, bool isLight) {
|
| - Completer<SendPort> completer = new Completer<SendPort>();
|
| + Completer<SendPort> completer = new Completer.sync<SendPort>();
|
| ReceivePort port = new ReceivePort();
|
| port.receive((msg, SendPort replyPort) {
|
| port.close();
|
|
|