diff options
-rw-r--r-- | aio.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -44,7 +44,8 @@ static AioHandler *find_aio_handler(int fd) LIST_FOREACH(node, &aio_handlers, node) { if (node->fd == fd) - return node; + if (!node->deleted) + return node; } return NULL; |