Index: runtime/bin/main.cc |
diff --git a/runtime/bin/main.cc b/runtime/bin/main.cc |
index c74900055ab8b12c4ef76e44fe46d099beb8df31..b1d60ee88fe2f04621cb4e1c6daf5781dbc152e8 100644 |
--- a/runtime/bin/main.cc |
+++ b/runtime/bin/main.cc |
@@ -500,6 +500,8 @@ static Dart_Isolate CreateIsolateAndSetupHelper(const char* script_uri, |
return NULL; |
} |
+ VmService::SendIsolateStartupMessage(Dart_GetMainPortId()); |
+ |
// Make the isolate runnable so that it is ready to handle messages. |
Dart_ExitScope(); |
Dart_ExitIsolate(); |
@@ -653,6 +655,7 @@ static int DartErrorExit(Dart_Handle error) { |
static void ShutdownIsolate(void* callback_data) { |
+ VmService::VmServiceShutdownCallback(callback_data); |
IsolateData* isolate_data = reinterpret_cast<IsolateData*>(callback_data); |
delete isolate_data; |
} |