Core/Master: Use ASSERT to halt server in freeze detector

This commit is contained in:
Shocker
2011-04-07 13:14:26 +03:00
parent 4db04b63dd
commit 2c28d383b3
+1 -1
View File
@@ -102,7 +102,7 @@ public:
else if (getMSTimeDiff(w_lastchange,curtime) > _delaytime)
{
sLog->outError("World Thread hangs, kicking out server!");
*((uint32 volatile*)NULL) = 0; // bang crash
ASSERT(false);
}
}
sLog->outString("Anti-freeze thread exiting without problems.");