In cases where there was more than one pending request and no active requests,
the linked list would be corrupted linking the pending request on the list of active requests.
This commit is contained in:
parent
dc867e363b
commit
512cec599e
1 changed files with 4 additions and 0 deletions
|
@ -226,6 +226,10 @@ static TPoolJob* next_job(TPool* tpool)
|
|||
{
|
||||
job->next = tpool->active_jobs;
|
||||
}
|
||||
else
|
||||
{
|
||||
job->next = NULL;
|
||||
}
|
||||
tpool->active_jobs = job;
|
||||
|
||||
// Update counters
|
||||
|
|
Loading…
Reference in a new issue