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:
parent
b49602dbce
commit
b5ef767bb1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user