[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 authored and GitHub committed 2025-04-09 20:55:56 -05:00
1 parent f9fe4ea2ec
commit dca892e258
4 files changed
+65 -17

No files matched your search

+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.