[Bugfix] Prevent final shutdown from persisting incomplete state. (#4849)

* [Bugfix] Prevent final shutdown from persisting incomplete state.

* [Bugfix] Change shutdown parameters to member variable.
This commit is contained in:
zimp-wow
2025-04-09 20:55:56 -05:00
committed by GitHub
parent f9fe4ea2ec
commit dca892e258
4 changed files with 65 additions and 17 deletions
+1
View File
@@ -678,6 +678,7 @@ int main(int argc, char **argv)
safe_delete(Config);
if (zone != 0) {
zone->SetSaveZoneState(false);
zone->Shutdown(true);
}
//Fix for Linux world server problem.