diff options
-rw-r--r-- | src/debug/ee/debugger.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/debug/ee/debugger.cpp b/src/debug/ee/debugger.cpp index ae698e2234..f8ebfc56fe 100644 --- a/src/debug/ee/debugger.cpp +++ b/src/debug/ee/debugger.cpp @@ -15573,7 +15573,9 @@ HRESULT Debugger::SetReference(void *objectRefAddress, // fixup the handle. OBJECTHANDLE h = vmObjectHandle.GetRawPtr(); OBJECTREF src = *((OBJECTREF*)&newReference); - HndAssignHandle(h, src); + + IGCHandleManager* mgr = GCHandleUtilities::GetGCHandleManager(); + mgr->StoreObjectInHandle(h, OBJECTREFToObject(src)); } return S_OK; |