Properly close process files in zone and world

This commit is contained in:
Akkadius
2015-01-21 18:46:56 -06:00
parent 7ce5acf701
commit 92737339b3
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -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;
}
+2
View File
@@ -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()