mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 11:25:42 +00:00
feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert (#2273)
This commit is contained in:
@@ -99,7 +99,7 @@ public:
|
||||
else if (getMSTimeDiff(_lastChange, curtime) > _delayTime)
|
||||
{
|
||||
sLog->outString("World Thread hangs, kicking out server!");
|
||||
ASSERT(false);
|
||||
ABORT();
|
||||
}
|
||||
|
||||
ACORE::Thread::Sleep(1000);
|
||||
|
||||
Reference in New Issue
Block a user