mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 02:31:48 +00:00
Fix assert.
This commit is contained in:
parent
398eecbb94
commit
4d9ae83abd
@ -1361,7 +1361,7 @@ void View::UpdateLockCount( LockMap& lockmap, size_t pos )
|
||||
break;
|
||||
case LockEvent::Type::Obtain:
|
||||
assert( lockCount < std::numeric_limits<uint8_t>::max() );
|
||||
assert( ( waitList | tbit ) != 0 );
|
||||
assert( ( waitList & tbit ) != 0 );
|
||||
waitList &= ~tbit;
|
||||
lockingThread = tl->thread;
|
||||
lockCount++;
|
||||
|
Loading…
Reference in New Issue
Block a user