summaryrefslogtreecommitdiff
path: root/src/gc/sample
diff options
context:
space:
mode:
authorAditya Mandaleeka <adityam@microsoft.com>2017-04-07 15:58:29 -0700
committerAditya Mandaleeka <adityam@microsoft.com>2017-04-10 14:37:31 -0700
commitac0ba59034c46da198b12812899e34dec21990e9 (patch)
treeb34a3e777f124e5eb0599692081388a52e2b24ed /src/gc/sample
parent6ed4abcf2c1877073a303ebb58b21a364ddc5f2c (diff)
downloadcoreclr-ac0ba59034c46da198b12812899e34dec21990e9.tar.gz
coreclr-ac0ba59034c46da198b12812899e34dec21990e9.tar.bz2
coreclr-ac0ba59034c46da198b12812899e34dec21990e9.zip
Move handle destruction code to IGCHandleTable.
Conflicts: src/vm/gchandletableutilities.h
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();