Core/Misc: Refactor loading process to remove exit() calls that cause deadlocks because threads are terminated without proper cleanup
Port From (https://github.com/TrinityCore/TrinityCore/commit/8e3024a96ab06b5e2d6da529c5e3db9ce5744c4e)
This commit is contained in:
@@ -41,7 +41,8 @@ namespace WorldServer
|
||||
|
||||
Global.RealmMgr.Initialize(ConfigMgr.GetDefaultValue("RealmsStateUpdateDelay", 10));
|
||||
|
||||
Global.WorldMgr.SetInitialWorldSettings();
|
||||
if (!Global.WorldMgr.SetInitialWorldSettings())
|
||||
ExitNow();
|
||||
|
||||
// Start the Remote Access port (acceptor) if enabled
|
||||
if (ConfigMgr.GetDefaultValue("Ra.Enable", false))
|
||||
|
||||
Reference in New Issue
Block a user