*Tried to combine a little too much code here I think :P

--HG--
branch : trunk
This commit is contained in:
maximius
2009-09-26 16:56:35 -07:00
parent c66005ea06
commit b528d14e73

View File

@@ -335,12 +335,14 @@ void OnSignal(int s)
{
case SIGINT:
case SIGTERM:
stopEvent = true;
break;
#ifdef _WIN32
case SIGBREAK:
if (m_ServiceStatus != 1)
#endif
stopEvent = true;
break;
#endif
}
signal(s, OnSignal);