Skip to content

Commit

Permalink
Fix initialization of stubMethodInfoCache lock owner.
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky committed Aug 27, 2019
1 parent 6dc4253 commit a095390
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vm/loaderallocator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1258,7 +1258,7 @@ void LoaderAllocator::Init(BaseDomain *pDomain, BYTE *pExecutableHeapMemory)

// Init the StubMethodInfo Cache
{
LockOwner lock = {};
LockOwner lock = { &m_stubMethodInfoCacheCrst, IsOwnerOfCrst };
m_stubMethodInfoCache.Init(0, (CompareFnPtr)nullptr, false, &lock);
}
}
Expand Down

0 comments on commit a095390

Please sign in to comment.