[Crash] Fix Repop Race Condition Crash (#4814)

* [Crash] Fix Repop Race Condition Crash

* True fix
This commit is contained in:
Chris Miles
2025-03-29 17:39:40 -05:00
committed by GitHub
parent 5b9f7ff4c9
commit fe08961d25
3 changed files with 6 additions and 2 deletions
+5
View File
@@ -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();