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

Unified Diff: lib/src/executable.dart

Issue 1248073003: Add a --pause-after-load flag for debugging. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: lib/src/executable.dart
diff --git a/lib/src/executable.dart b/lib/src/executable.dart
index 0664f23a87a2e588ac2d5c35eb907c72dd03d5f5..29c4dd33c4599a0fffdf5435d2ac32cef22e15a4 100644
--- a/lib/src/executable.dart
+++ b/lib/src/executable.dart
@@ -16,6 +16,7 @@ import 'runner.dart';
import 'runner/application_exception.dart';
import 'runner/configuration.dart';
import 'util/exit_codes.dart' as exit_codes;
+import 'util/io.dart';
import 'utils.dart';
/// A merged stream of all signals that tell the test runner to shut down
@@ -109,6 +110,7 @@ transformers:
if (signalSubscription == null) return;
signalSubscription.cancel();
signalSubscription = null;
+ stdinLines.cancel(immediate: true);
await runner.close();
}

Powered by Google App Engine
This is Rietveld 408576698