diff options
Diffstat (limited to 'src/vm/exstate.cpp')
-rw-r--r-- | src/vm/exstate.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/vm/exstate.cpp b/src/vm/exstate.cpp index c598412547..0dc902a1f1 100644 --- a/src/vm/exstate.cpp +++ b/src/vm/exstate.cpp @@ -102,7 +102,7 @@ void ThreadExceptionState::FreeAllStackTraces() } } -void ThreadExceptionState::ClearThrowablesForUnload(void* handleStore) +void ThreadExceptionState::ClearThrowablesForUnload(IGCHandleStore* handleStore) { WRAPPER_NO_CONTRACT; @@ -112,13 +112,11 @@ void ThreadExceptionState::ClearThrowablesForUnload(void* handleStore) ExInfo* pNode = &m_currentExInfo; #endif // WIN64EXCEPTIONS - IGCHandleTable *pHandleTable = GCHandleTableUtilities::GetGCHandleTable(); - for ( ; pNode != NULL; pNode = pNode->m_pPrevNestedInfo) { - if (pHandleTable->ContainsHandle(handleStore, pNode->m_hThrowable)) + if (handleStore->ContainsHandle(pNode->m_hThrowable)) { pNode->DestroyExceptionHandle(); } |