summaryrefslogtreecommitdiff
path: root/src/gc/sample
diff options
context:
space:
mode:
Diffstat (limited to 'src/gc/sample')
-rw-r--r--src/gc/sample/GCSample.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gc/sample/GCSample.cpp b/src/gc/sample/GCSample.cpp
index ed67e892ff..2914ee1665 100644
--- a/src/gc/sample/GCSample.cpp
+++ b/src/gc/sample/GCSample.cpp
@@ -229,7 +229,7 @@ int __cdecl main(int argc, char* argv[])
return -1;
// Destroy the strong handle so that nothing will be keeping out object alive
- DestroyGlobalHandle(oh);
+ HndDestroyHandle(HndGetHandleTable(oh), HNDTYPE_DEFAULT, oh);
// Explicitly trigger full GC
pGCHeap->GarbageCollect();