Commit 544c41ce authored by Karl Heyes's avatar Karl Heyes

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
parent d503f0bf
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment