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

Unified Diff: runtime/bin/vmservice/vmservice_io.dart

Issue 1035943005: Clean up observatory testing processes when we are done with them. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 9 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
« no previous file with comments | « no previous file | runtime/observatory/test/test_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/vmservice_io.dart
diff --git a/runtime/bin/vmservice/vmservice_io.dart b/runtime/bin/vmservice/vmservice_io.dart
index 070a25c3dc62aa963153abcd6f9e864a5bfdab2d..4896b218c5b53a7bc9447c80fd5885afc32eaa2e 100644
--- a/runtime/bin/vmservice/vmservice_io.dart
+++ b/runtime/bin/vmservice/vmservice_io.dart
@@ -31,7 +31,9 @@ Future<Server> serverFuture;
_onShutdown() {
if (server != null) {
- server.close(true).catchError((e, st) => assert(e));
+ server.close(true).catchError((e, st) {
+ print("Error in vm-service: $e\n$st\nExiting...");
Ivan Posva 2015/03/27 07:51:36 How about "Error in vm-service shutdown"? To make
turnidge 2015/03/27 16:01:37 Done.
+ });
}
if (_signalSubscription != null) {
_signalSubscription.cancel();
« no previous file with comments | « no previous file | runtime/observatory/test/test_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698