Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 807f7c30ddfe922632dc989c28321bb00fef0667..f5ef7ea70b9250ae19dea4ca0f802b004f6c5ad5 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -10757,6 +10757,7 @@ bool Library::ImportsCorelib() const { |
void Library::DropDependencies() const { |
StorePointer(&raw_ptr()->imports_, Object::empty_array().raw()); |
StorePointer(&raw_ptr()->exports_, Object::empty_array().raw()); |
+ StoreNonPointer(&raw_ptr()->num_imports_, 0); |
} |