If we can't set a checkpoint, don't crash, just return.
This commit is contained in:
@@ -344,7 +344,7 @@ void Checkpoints::SetCheckpoint( const char *file, int line, const char *message
|
||||
int slotno = GetCurThreadSlot();
|
||||
/* We can't ASSERT here, since that uses checkpoints. */
|
||||
if( slotno == -1 )
|
||||
*(char*)0=0;
|
||||
return;
|
||||
|
||||
ThreadSlot &slot = g_ThreadSlots[slotno];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user