Index: test/cctest/test-global-handles.cc |
diff --git a/test/cctest/test-global-handles.cc b/test/cctest/test-global-handles.cc |
index 2261a5a14cf80d3de807f2131fb7a14e0109e989..48b6655bbcd5376cf43f15e415a0ffe9c82be2c3 100644 |
--- a/test/cctest/test-global-handles.cc |
+++ b/test/cctest/test-global-handles.cc |
@@ -316,6 +316,8 @@ TEST(ImplicitReferences) { |
reinterpret_cast<HeapObject**>(g2s1.location())); |
ASSERT(implicit_refs->at(1)->length == 1); |
ASSERT(implicit_refs->at(1)->children[0] == g2c1.location()); |
+ global_handles->RemoveObjectGroups(); |
+ global_handles->RemoveImplicitRefGroups(); |
} |