Telodendria now responds correctly to SIGTERM.

This commit is contained in:
Jordan Bancino 2023-04-24 16:23:50 +00:00
parent 279f261aed
commit a525830b64
2 changed files with 2 additions and 2 deletions

View file

@ -66,6 +66,7 @@ SignalHandler(int signal)
case SIGUSR1:
restart = 1;
/* Fall through */
case SIGTERM:
case SIGINT:
if (!httpServers)
{
@ -536,6 +537,7 @@ start:
}
SIGACTION(SIGINT, &sigAction, NULL);
SIGACTION(SIGTERM, &sigAction, NULL);
SIGACTION(SIGPIPE, &sigAction, NULL);
SIGACTION(SIGUSR1, &sigAction, NULL);

View file

@ -493,8 +493,6 @@ UiaCleanup(MatrixHttpHandlerArgs * args)
unsigned long lastAccess;
Log(LOG_DEBUG, "Looking at session %s", session);
if (!ref)
{
Log(LOG_ERR, "Unable to lock uia %s for inspection.",