Skip to content

Commit

Permalink
output: on destroying thread, decrement the task users counter (#113)
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Silva <eduardo@treasure-data.com>
  • Loading branch information
edsiper committed Oct 3, 2016
1 parent 15047b7 commit 08c71aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/fluent-bit/flb_output.h
Expand Up @@ -208,6 +208,7 @@ static FLB_INLINE int flb_output_thread_destroy_id(int id, struct flb_task *task

thread = out_th->parent;
flb_thread_destroy(thread);
task->users--;

return 0;
}
Expand Down

0 comments on commit 08c71aa

Please sign in to comment.