Skip to content

Commit 4c8307f

Browse files
committed
lib: monkey: sync c04d87d9 kqueue changes
Signed-off-by: Eduardo Silva <[email protected]>
1 parent 4db5934 commit 4c8307f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/monkey/mk_core/mk_event_kqueue.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ static inline int _mk_event_timeout_destroy(struct mk_event_ctx *ctx, void *data
245245
mk_list_del(&event->_priority_head);
246246
}
247247

248+
close(event->fd);
248249
MK_EVENT_NEW(event);
249250

250251
return 0;

0 commit comments

Comments
 (0)