Index: runtime/bin/vmservice/loader.dart |
diff --git a/runtime/bin/vmservice/loader.dart b/runtime/bin/vmservice/loader.dart |
index bec70ea882ef13b2ecd67f8e640c758a7eddc4ff..b34e54c3309371b2e42b8bb6c93bc5fc526bb306 100644 |
--- a/runtime/bin/vmservice/loader.dart |
+++ b/runtime/bin/vmservice/loader.dart |
@@ -266,6 +266,7 @@ class IsolateLoaderState extends IsolateEmbedderData { |
RawReceivePort _packagesPort; |
void _requestPackagesMap([Uri packageConfig]) { |
+ assert(_rootScript != null); |
if (_packagesPort != null) { |
// Already scheduled. |
return; |