1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

DoRefreshCollapse BfSystem lock fix

This commit is contained in:
Brian Fiete 2022-05-07 06:26:12 -07:00
parent 5af381f538
commit 8dc2cf9652
3 changed files with 17 additions and 2 deletions

View file

@ -3754,7 +3754,9 @@ void BfSystem::Unlock()
void BfSystem::AssertWeHaveLock()
{
//mSystemLock.mCritSect
#ifdef BF_PLATFORM_WINDOWS
BF_ASSERT_REL(((CRITICAL_SECTION*)mSystemLock.mCritSect)->OwningThread == (HANDLE)(uintptr)::GetCurrentThreadId());
#endif
}
void BfSystem::RemoveDeletedParsers()