config: destroy collectors timeout on exit
@@ -220,6 +220,7 @@ void flb_config_exit(struct flb_config *config)
mk_event_del(config->evl, &collector->event);
if (collector->type == FLB_COLLECT_TIME) {
+ mk_event_timeout_destroy(config->evl, &collector->event);
if (collector->fd_timer > 0) {
close(collector->fd_timer);
}
