1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00

Fix: Work around hanging events thread

This commit is contained in:
Philipp Schafft 2022-03-22 18:25:19 +00:00
parent b49602dbce
commit b5ef767bb1

View File

@ -189,6 +189,8 @@ static void *event_run_thread (void *arg) {
/* sleep if nothing todo and then try again */ /* sleep if nothing todo and then try again */
if (!event) { if (!event) {
if (!running)
break;
thread_cond_wait(&cond); thread_cond_wait(&cond);
continue; continue;
} }