Since we are going to close all epoll and cleanup resources, no need to delete
notify fd resource. And another reason is "delete_file_event" doesn't expect
other threads to call
Signed-off-by: Haomai Wang <haomai@xsky.com>
}
assert(time_events.empty());
- if (notify_receive_fd >= 0) {
- delete_file_event(notify_receive_fd, EVENT_READABLE);
+ if (notify_receive_fd >= 0)
::close(notify_receive_fd);
- }
if (notify_send_fd >= 0)
::close(notify_send_fd);