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

Unified Diff: runtime/bin/main.cc

Issue 22607005: Remove race(s) in vmservice tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/bin/vmservice/running_isolate.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/main.cc
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc
index e46d7eb7d3fc872b257c96fe82e9da6f842d61ca..57c51686767da10cbc9e1982eea74ffac58bf5ba 100644
--- a/runtime/bin/main.cc
+++ b/runtime/bin/main.cc
@@ -478,7 +478,9 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri,
Dart_SetField(platform_type, script_name_name, dart_script);
CHECK_RESULT(set_script_name);
- VmService::SendIsolateStartupMessage(Dart_GetMainPortId());
+ Dart_Handle debug_name = Dart_DebugName();
+ CHECK_RESULT(debug_name);
+ VmService::SendIsolateStartupMessage(Dart_GetMainPortId(), debug_name);
// Make the isolate runnable so that it is ready to handle messages.
Dart_ExitScope();
« no previous file with comments | « no previous file | runtime/bin/vmservice/running_isolate.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698