From 6a5411c2f16a2f5a148b18e2a5c33296fad435de Mon Sep 17 00:00:00 2001 From: Thomas Porzelt Date: Mon, 8 Feb 2010 15:24:25 +0100 Subject: [PATCH] [plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue --- src/main/plugin_core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/plugin_core.c b/src/main/plugin_core.c index 7740050..69da4ad 100644 --- a/src/main/plugin_core.c +++ b/src/main/plugin_core.c @@ -1309,6 +1309,7 @@ static liHandlerResult core_handle_throttle_pool(liVRequest *vr, gpointer param, liThrottlePool *p = vr->con->throttle.pool.ptr; g_queue_unlink(p->queues[vr->con->throttle.pool.queue_ndx], &vr->con->throttle.pool.lnk); g_atomic_int_add(&p->num_cons, -1); + vr->con->throttle.pool.queued = FALSE; } }