Chromium Code Reviews| Index: tests/isolate/isolate2_negative_test.dart |
| =================================================================== |
| --- tests/isolate/isolate2_negative_test.dart (revision 16024) |
| +++ tests/isolate/isolate2_negative_test.dart (working copy) |
| @@ -14,4 +14,5 @@ |
| main() { |
| SendPort port = spawnFunction(entry); |
| + port.receive((msg) {}); |
|
kasperl
2012/12/13 08:45:12
Why did you add this? Maybe add a comment.
ngeoffray
2012/12/13 11:56:15
Because otherwise the main isolate quits and the s
|
| } |