Index: runtime/vm/service/vmservice.dart |
=================================================================== |
--- runtime/vm/service/vmservice.dart (revision 31848) |
+++ runtime/vm/service/vmservice.dart (working copy) |
@@ -82,7 +82,10 @@ |
_clientCollection(message); |
return message.response; |
} |
- return runningIsolates.route(message); |
+ if (message.path[0] == 'isolates') { |
+ return runningIsolates.route(message); |
+ } |
+ return message.sendToVM(); |
} |
} |
@@ -91,6 +94,3 @@ |
// Return the port we expect isolate startup and shutdown messages on. |
return new VMService().receivePort; |
} |
- |
-void sendServiceMessage(SendPort sp, Object m) |
- native "VMService_SendServiceMessage"; |