| Index: tests/isolate/isolate2_negative_test.dart
|
| ===================================================================
|
| --- tests/isolate/isolate2_negative_test.dart (revision 16103)
|
| +++ tests/isolate/isolate2_negative_test.dart (working copy)
|
| @@ -14,4 +14,9 @@
|
|
|
| main() {
|
| SendPort port = spawnFunction(entry);
|
| + // TODO(ngeoffray): Remove this code and update dart2js to wait for
|
| + // all ports to be closed.
|
| + // Make sure the main thread stays alive so that the spawned isolate
|
| + // can run.
|
| + port.receive((msg) {});
|
| }
|
|
|