mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-07 17:22:26 +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();
|
eqsf.Close();
|
||||||
Log.Out(Logs::Detail, Logs::World_Server,"Signaling HTTP service to stop...");
|
Log.Out(Logs::Detail, Logs::World_Server,"Signaling HTTP service to stop...");
|
||||||
http_server.Stop();
|
http_server.Stop();
|
||||||
|
Log.CloseFileLogs();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -479,6 +479,7 @@ int main(int argc, char** argv) {
|
|||||||
command_deinit();
|
command_deinit();
|
||||||
safe_delete(parse);
|
safe_delete(parse);
|
||||||
Log.Out(Logs::Detail, Logs::Zone_Server, "Proper zone shutdown complete.");
|
Log.Out(Logs::Detail, Logs::Zone_Server, "Proper zone shutdown complete.");
|
||||||
|
Log.CloseFileLogs();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -495,6 +496,7 @@ void Shutdown()
|
|||||||
RunLoops = false;
|
RunLoops = false;
|
||||||
worldserver.Disconnect();
|
worldserver.Disconnect();
|
||||||
Log.Out(Logs::Detail, Logs::Zone_Server, "Shutting down...");
|
Log.Out(Logs::Detail, Logs::Zone_Server, "Shutting down...");
|
||||||
|
Log.CloseFileLogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32 NetConnection::GetIP()
|
uint32 NetConnection::GetIP()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user