Index: runtime/vm/service/vmservice.dart |
diff --git a/runtime/vm/service/vmservice.dart b/runtime/vm/service/vmservice.dart |
index 10e73c9b88257fb84aa423bb31a6656b2347cfdd..3389b862cd86a59224ff871de96546187a8e179e 100644 |
--- a/runtime/vm/service/vmservice.dart |
+++ b/runtime/vm/service/vmservice.dart |
@@ -106,8 +106,13 @@ class VMService extends MessageRouter { |
} |
} |
+ void _notSupported(_) { |
+ throw new UnimplementedError('Service script loading not supported.'); |
+ } |
+ |
VMService._internal() |
: eventPort = isolateLifecyclePort { |
+ scriptLoadPort.handler = _notSupported; |
eventPort.handler = messageHandler; |
} |