*Remove some redundant code, and relocate some illogical code.

--HG--
branch : trunk
This commit is contained in:
maximius committed 2009-09-26 12:54:12 -07:00
1 parent 3416a6543d
commit 9dfaa02895
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -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;
}