Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(468)

Side by Side Diff: runtime/tests/vm/dart/spawn_infinite_loop_test.dart

Issue 1177153005: Enables clean VM shutdown. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Remove debug print Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:isolate'; 5 import 'dart:isolate';
6 import 'package:issue_12474_lib.dart';
7 6
8 void main([args, port]) { 7 void loop(msg) {
9 testPackageRoot(args); 8 while (true) {}
9 throw "Unreachable";
10 } 10 }
11
turnidge 2015/08/04 21:39:02 Comment to explain why we have this test.
zra 2015/08/05 06:23:06 Done.
12 void main() {
13 Isolate.spawn(loop, []);
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698