1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00

evlib: remove PREPARE_DELETION as cruft

This commit is contained in:
Andy Green 2021-08-21 17:43:55 +01:00
parent f6911cdab8
commit 6ab149b5d3
2 changed files with 2 additions and 5 deletions

View file

@ -34,8 +34,6 @@ enum {
LWS_EV_WRITE = (1 << 1),
LWS_EV_START = (1 << 2),
LWS_EV_STOP = (1 << 3),
LWS_EV_PREPARE_DELETION = (1u << 31),
};
struct lws_event_loop_ops {

View file

@ -395,9 +395,8 @@ __remove_wsi_socket_from_fds(struct lws *wsi)
assert(m == LWS_NO_FDS_POS || (m >= 0 && (unsigned int)m < pt->fds_count));
if (context->event_loop_ops->io)
context->event_loop_ops->io(wsi,
LWS_EV_STOP | LWS_EV_READ | LWS_EV_WRITE |
LWS_EV_PREPARE_DELETION);
context->event_loop_ops->io(wsi, LWS_EV_STOP | LWS_EV_READ |
LWS_EV_WRITE);
/*
lwsl_notice("%s: wsi=%s, skt=%d, fds pos=%d, end guy pos=%d, endfd=%d\n",
__func__, lws_wsi_tag(wsi), wsi->desc.sockfd, wsi->position_in_fds_table,