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:
Hondacrx
2024-08-19 13:48:46 -04:00
parent d33f86799f
commit 2405543be4
2 changed files with 9 additions and 6 deletions
+2 -1
View File
@@ -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))