diff options
Diffstat (limited to 'src/core.c')
-rw-r--r-- | src/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ static void tip_client_release(struct ev_loop *loop, struct tip_client *cli) list_del(&cli->list); ev_io_stop(loop, &cli->io); + shutdown(cli->io.fd, SHUT_RDWR); close(cli->io.fd); if (cli->fd > 0) close(cli->fd); |