summaryrefslogtreecommitdiff
path: root/src/vm/comdependenthandle.h
diff options
context:
space:
mode:
authorJan Kotas <jkotas@microsoft.com>2016-12-10 00:31:20 -0800
committerGitHub <noreply@github.com>2016-12-10 00:31:20 -0800
commit6ef31918fce2a9790e01f863e06575a9ca2ec77a (patch)
tree5443c9731da5ed06f6e343b6aa9ab45c90190f8e /src/vm/comdependenthandle.h
parentcfea8830397384c54152b6e54e783d76b2738dc3 (diff)
downloadcoreclr-6ef31918fce2a9790e01f863e06575a9ca2ec77a.tar.gz
coreclr-6ef31918fce2a9790e01f863e06575a9ca2ec77a.tar.bz2
coreclr-6ef31918fce2a9790e01f863e06575a9ca2ec77a.zip
Improve ConditionalWeakTable.Remove (#8580)
Clear the key of the deleted entry to allow GC collect objects pointed to by it Fixes #8577
Diffstat (limited to 'src/vm/comdependenthandle.h')
-rw-r--r--src/vm/comdependenthandle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vm/comdependenthandle.h b/src/vm/comdependenthandle.h
index 29110c1087..7192a4bbc3 100644
--- a/src/vm/comdependenthandle.h
+++ b/src/vm/comdependenthandle.h
@@ -45,6 +45,7 @@ public:
static FCDECL2(VOID, nGetPrimary, OBJECTHANDLE handle, Object **outPrimary);
static FCDECL3(VOID, nGetPrimaryAndSecondary, OBJECTHANDLE handle, Object **outPrimary, Object **outSecondary);
static FCDECL1(VOID, nFree, OBJECTHANDLE handle);
+ static FCDECL2(VOID, nSetPrimary, OBJECTHANDLE handle, Object *primary);
static FCDECL2(VOID, nSetSecondary, OBJECTHANDLE handle, Object *secondary);
};