Core/Master: Use ASSERT to halt server in freeze detector
This commit is contained in:
@@ -102,7 +102,7 @@ public:
|
|||||||
else if (getMSTimeDiff(w_lastchange,curtime) > _delaytime)
|
else if (getMSTimeDiff(w_lastchange,curtime) > _delaytime)
|
||||||
{
|
{
|
||||||
sLog->outError("World Thread hangs, kicking out server!");
|
sLog->outError("World Thread hangs, kicking out server!");
|
||||||
*((uint32 volatile*)NULL) = 0; // bang crash
|
ASSERT(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sLog->outString("Anti-freeze thread exiting without problems.");
|
sLog->outString("Anti-freeze thread exiting without problems.");
|
||||||
|
|||||||
Reference in New Issue
Block a user