Index: test/cctest/test-mark-compact.cc |
diff --git a/test/cctest/test-mark-compact.cc b/test/cctest/test-mark-compact.cc |
index 5c7b57cf832fa4ee311ab6ba8a3bef4f652787e5..e4ac1b7c576b066384f379d6138211983435be60 100644 |
--- a/test/cctest/test-mark-compact.cc |
+++ b/test/cctest/test-mark-compact.cc |
@@ -273,6 +273,7 @@ TEST(GCCallback) { |
static int NumberOfWeakCalls = 0; |
static void WeakPointerCallback(v8::Persistent<v8::Value> handle, void* id) { |
NumberOfWeakCalls++; |
+ handle.Dispose(); |
} |
TEST(ObjectGroups) { |