We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d847e7 commit 538baadCopy full SHA for 538baad
include/fluent-bit/flb_plugins.h.in
@@ -64,6 +64,9 @@ void flb_plugins_unregister(struct flb_config *config)
64
65
mk_list_foreach_safe(head, tmp, &config->custom_plugins) {
66
custom = mk_list_entry(head, struct flb_custom_plugin, _head);
67
+ if(custom->cb_destroy) {
68
+ custom->cb_destroy(custom);
69
+ }
70
mk_list_del(&custom->_head);
71
flb_free(custom);
72
}
0 commit comments