MINOR: task: release the task pool when stopping
authorWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 15:57:19 +0000 (16:57 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 13 Nov 2014 15:57:19 +0000 (16:57 +0100)
commiteb11889f1e2002a7d5709db9d4b2979651108bee
treeb7954d173f30847da48e3fea3ea06eda26461d82
parent3a5e060bf6ba68c2f07288a33d9a567b8e3d0dca
MINOR: task: release the task pool when stopping

When we're stopping, we're not going to create new tasks anymore, so
let's release the task pool upon each task_free() in order to reduce
memory fragmentation.
include/proto/task.h