mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-18 07:38:22 +00:00
[Code] EQEmuLogSys Global to Singleton Cleanup (#4925)
* [Code] EQEmuLogSys Global to Singleton Cleanup * Post merge fix
This commit is contained in:
+2
-3
@@ -104,7 +104,6 @@ volatile bool RunLoops = true;
|
||||
uint32 numclients = 0;
|
||||
uint32 numzones = 0;
|
||||
const WorldConfig *Config;
|
||||
EQEmuLogSys LogSys;
|
||||
WorldContentService content_service;
|
||||
WebInterfaceList web_interface;
|
||||
PlayerEventLogs player_event_logs;
|
||||
@@ -130,7 +129,7 @@ inline void UpdateWindowTitle(std::string new_title)
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
RegisterExecutablePlatform(ExePlatformWorld);
|
||||
LogSys.LoadLogSettingsDefaults();
|
||||
EQEmuLogSys::Instance()->LoadLogSettingsDefaults();
|
||||
set_exception_handler();
|
||||
|
||||
if (WorldBoot::HandleCommandInput(argc, argv)) {
|
||||
@@ -504,7 +503,7 @@ int main(int argc, char **argv)
|
||||
zoneserver_list.KillAll();
|
||||
LogInfo("Zone (TCP) listener stopped");
|
||||
LogInfo("Signaling HTTP service to stop");
|
||||
LogSys.CloseFileLogs();
|
||||
EQEmuLogSys::Instance()->CloseFileLogs();
|
||||
|
||||
WorldBoot::Shutdown();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user