*Wintergrasp: Tenacity fixes by Spp
*Better Windows signal handling for services, by defacer *Always hide triggers for players, by ogeraisi --HG-- branch : trunk
This commit is contained in:
1 parent
59586af421
commit
3416a6543d
5 files changed
+99
-99
No files matched your search
@@ -373,7 +373,8 @@ void HookSignals()
|
||||
signal(SIGINT, OnSignal);
|
||||
signal(SIGTERM, OnSignal);
|
||||
#ifdef _WIN32
|
||||
signal(SIGBREAK, OnSignal);
|
||||
if (m_ServiceStatus != 1)
|
||||
signal(SIGBREAK, OnSignal);
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -383,7 +384,8 @@ void UnhookSignals()
|
||||
signal(SIGINT, 0);
|
||||
signal(SIGTERM, 0);
|
||||
#ifdef _WIN32
|
||||
signal(SIGBREAK, 0);
|
||||
if (m_ServiceStatus != 1)
|
||||
signal(SIGBREAK, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user