mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-25 19:07:16 +00:00
[Crash] Fix Repop Race Condition Crash (#4814)
* [Crash] Fix Repop Race Condition Crash * True fix
This commit is contained in:
1 parent
5b9f7ff4c9
commit
fe08961d25
3 files changed
+6
-2
No files matched your search
@@ -501,6 +501,7 @@ int main(int argc, char **argv)
|
||||
|
||||
Timer InterserverTimer(INTERSERVER_TIMER); // does MySQL pings and auto-reconnect
|
||||
Timer UpdateWhoTimer(RuleI(Zone, UpdateWhoTimer) * 1000); // updates who list every 2 minutes
|
||||
Timer WorldserverProcess(1000);
|
||||
|
||||
#ifdef EQPROFILE
|
||||
#ifdef PROFILE_DUMP_TIME
|
||||
@@ -617,6 +618,10 @@ int main(int argc, char **argv)
|
||||
}
|
||||
}
|
||||
|
||||
if (WorldserverProcess.Check()) {
|
||||
worldserver.Process();
|
||||
}
|
||||
|
||||
if (is_zone_loaded) {
|
||||
{
|
||||
entity_list.GroupProcess();
|
||||
|
||||
Reference in new issue
Block a user