1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2025-02-02 15:07:36 -05:00

missed from previous commit. we don't cleanup at this point anymore, doing so

could cause lost client connections.

svn path=/icecast/trunk/icecast/; revision=15426
This commit is contained in:
Karl Heyes 2008-10-21 02:30:43 +00:00
parent d503f0bf5c
commit 544c41ce60

View File

@ -326,25 +326,7 @@ static void *fserv_thread_function(void *arg)
fclient = fclient->next;
}
}
/* Shutdown path */
thread_mutex_lock (&pending_lock);
while (pending_list)
{
fserve_t *to_go = (fserve_t *)pending_list;
pending_list = to_go->next;
fserve_client_destroy (to_go);
}
thread_mutex_unlock (&pending_lock);
while (active_list)
{
fserve_t *to_go = active_list;
active_list = to_go->next;
fserve_client_destroy (to_go);
}
DEBUG0 ("fserve handler exit");
return NULL;
}