better error message
This commit is contained in:
@@ -636,7 +636,7 @@ void RageMutexImpl::Unlock()
|
||||
/* We can't ASSERT here, since this is called from checkpoints, which is
|
||||
* called from ASSERT. */
|
||||
if( !ret )
|
||||
sm_crash();
|
||||
sm_crash( werr_ssprintf( GetLastError(), "ReleaseMutex failed" ) );
|
||||
}
|
||||
|
||||
bool RageMutexImpl::IsLockedByThisThread() const
|
||||
|
||||
Reference in New Issue
Block a user