mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 14:46:54 +01:00
*Remove some redundant code, and relocate some illogical code.
--HG-- branch : trunk
This commit is contained in:
@@ -521,10 +521,10 @@ void Master::_OnSignal(int s)
|
||||
break;
|
||||
case SIGTERM:
|
||||
#ifdef _WIN32
|
||||
if (m_ServiceStatus != 1)
|
||||
case SIGBREAK:
|
||||
#endif
|
||||
World::StopNow(SHUTDOWN_EXIT_CODE);
|
||||
if (m_ServiceStatus != 1)
|
||||
World::StopNow(SHUTDOWN_EXIT_CODE);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user