Index: runtime/vm/service/vmservice.dart |
diff --git a/runtime/vm/service/vmservice.dart b/runtime/vm/service/vmservice.dart |
index 10e73c9b88257fb84aa423bb31a6656b2347cfdd..f569a8e6dfbd7ac85c1b5aac7d435dcb99aa3920 100644 |
--- a/runtime/vm/service/vmservice.dart |
+++ b/runtime/vm/service/vmservice.dart |
@@ -7,7 +7,6 @@ library vmservice; |
import 'dart:async'; |
import 'dart:convert'; |
import 'dart:isolate'; |
-import 'dart:typed_data'; |
part 'client.dart'; |
part 'constants.dart'; |
@@ -106,8 +105,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; |
} |