1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Update: Avoid logging in signal handler

See also: #2472
This commit is contained in:
Philipp Schafft 2023-06-22 10:13:37 +00:00
parent 86635ee700
commit 5cad25a180
2 changed files with 1 additions and 2 deletions

View File

@ -903,6 +903,7 @@ void connection_accept_loop(void)
connection_queue(con);
}
}
ICECAST_LOG_INFO("No longer running. Shutting down...");
/* Give all the other threads notification to shut down */

View File

@ -62,8 +62,6 @@ void _sig_hup(int signo)
void _sig_die(int signo)
{
ICECAST_LOG_INFO("Caught signal %d, shutting down...", signo);
/* inform the server to start shutting down */
global.running = ICECAST_HALTING;
}