2
0
Fork 0

[plugin_core] Set con->throttle.pool.queued to FALSE after unlinking from queue

This commit is contained in:
Thomas Porzelt 2010-02-08 15:24:25 +01:00
parent 1297a1fab7
commit 6a5411c2f1
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}
}