Chromium Code Reviews| 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,7 @@ |
| main() { |
| SendPort port = spawnFunction(entry); |
| + // Make sure the main thread stays alive so that the spawned isolate |
|
ahe
2012/12/14 08:33:31
I'm not sure about this. Why does the main thread
ngeoffray
2012/12/14 09:13:16
Hmmm. Good catch. I added a TODO.
|
| + // can run. |
| + port.receive((msg) {}); |
| } |