mirror of
https://github.com/EQEmu/Server.git
synced 2026-02-03 08:13:52 +00:00
Properly close process files in zone and world
This commit is contained in:
parent
7ce5acf701
commit
92737339b3
@ -493,6 +493,7 @@ int main(int argc, char** argv) {
|
||||
eqsf.Close();
|
||||
Log.Out(Logs::Detail, Logs::World_Server,"Signaling HTTP service to stop...");
|
||||
http_server.Stop();
|
||||
Log.CloseFileLogs();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -479,6 +479,7 @@ int main(int argc, char** argv) {
|
||||
command_deinit();
|
||||
safe_delete(parse);
|
||||
Log.Out(Logs::Detail, Logs::Zone_Server, "Proper zone shutdown complete.");
|
||||
Log.CloseFileLogs();
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -495,6 +496,7 @@ void Shutdown()
|
||||
RunLoops = false;
|
||||
worldserver.Disconnect();
|
||||
Log.Out(Logs::Detail, Logs::Zone_Server, "Shutting down...");
|
||||
Log.CloseFileLogs();
|
||||
}
|
||||
|
||||
uint32 NetConnection::GetIP()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user