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

Unified Diff: runtime/bin/main.cc

Issue 12310158: Don't execute VmStats::Stop() unless port is specified. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 10 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
===================================================================
--- runtime/bin/main.cc (revision 19096)
+++ runtime/bin/main.cc (working copy)
@@ -819,7 +819,9 @@
}
Dart_ExitScope();
- VmStats::Stop();
+ if (vmstats_port >= 0) {
+ VmStats::Stop();
+ }
// Shutdown the isolate.
Dart_ShutdownIsolate();
// Terminate process exit-code handler.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698