File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -2007,7 +2007,6 @@ int flb_input_collector_destroy(struct flb_input_collector *coll)
2007
2007
if (coll -> type == FLB_COLLECT_TIME ) {
2008
2008
if (coll -> fd_timer > 0 ) {
2009
2009
mk_event_timeout_destroy (config -> evl , & coll -> event );
2010
- mk_event_closesocket (coll -> fd_timer );
2011
2010
}
2012
2011
}
2013
2012
else {
@@ -2022,7 +2021,6 @@ int flb_input_collector_destroy(struct flb_input_collector *coll)
2022
2021
int flb_input_collector_pause (int coll_id , struct flb_input_instance * in )
2023
2022
{
2024
2023
int ret ;
2025
- flb_pipefd_t fd ;
2026
2024
struct flb_input_collector * coll ;
2027
2025
2028
2026
coll = get_collector (coll_id , in );
@@ -2043,10 +2041,8 @@ int flb_input_collector_pause(int coll_id, struct flb_input_instance *in)
2043
2041
* Note: Invalidate fd_timer first in case closing a socket
2044
2042
* invokes another event.
2045
2043
*/
2046
- fd = coll -> fd_timer ;
2047
2044
coll -> fd_timer = -1 ;
2048
2045
mk_event_timeout_destroy (coll -> evl , & coll -> event );
2049
- mk_event_closesocket (fd );
2050
2046
}
2051
2047
else if (coll -> type & (FLB_COLLECT_FD_SERVER | FLB_COLLECT_FD_EVENT )) {
2052
2048
ret = mk_event_del (coll -> evl , & coll -> event );
You can’t perform that action at this time.
0 commit comments