Index: runtime/bin/vmservice/vmservice_io.dart |
diff --git a/runtime/bin/vmservice/vmservice_io.dart b/runtime/bin/vmservice/vmservice_io.dart |
index 8c77003564e4187c89cbbe2824d6dfccf3637720..5101858b1aa83aeacf440e4046fafa9f199a129e 100644 |
--- a/runtime/bin/vmservice/vmservice_io.dart |
+++ b/runtime/bin/vmservice/vmservice_io.dart |
@@ -8,20 +8,20 @@ import 'dart:async'; |
import 'dart:convert'; |
import 'dart:io'; |
import 'dart:isolate'; |
-import 'vmservice.dart'; |
+import 'dart:vmservice'; |
+part 'resources.dart'; |
part 'server.dart'; |
// The TCP port that the HTTP server listens on. |
int _port; |
-// The receive port that isolate startup / shutdown messages are delivered on. |
-RawReceivePort _receivePort; |
+// The VM service instance. |
+VMService service; |
main() { |
- // Create VmService. |
- var service = new VMService(); |
- _receivePort = service.receivePort; |
+ // Get VMService. |
+ service = new VMService(); |
// Start HTTP server. |
var server = new Server(service, _port); |
server.startServer(); |