Commit 108c65d3 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dont attempt to re-release the VCL

Fixes #3571
parent c9b469c5
......@@ -433,7 +433,7 @@ Pool_Work_Thread(struct pool *pp, struct worker *wrk)
else
tmo = wrk->lastused+60.;
i = Lck_CondWait(&wrk->cond, &pp->mtx, tmo);
if (i == ETIMEDOUT)
if (i == ETIMEDOUT && wrk->vcl != NULL)
VCL_Rel(&wrk->vcl);
if (wrk->task->func != NULL) {
/* We have been handed a new task */
......
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