From 27b11abcc0668982c61d58a44a56adb0f45cc56d Mon Sep 17 00:00:00 2001 From: Bert Belder Date: Sat, 8 Sep 2012 17:52:57 +0200 Subject: [PATCH] unix: mark accept idle handle as internal --- src/unix/tcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/unix/tcp.c b/src/unix/tcp.c index 4064c5e9..186150be 100644 --- a/src/unix/tcp.c +++ b/src/unix/tcp.c @@ -247,6 +247,7 @@ int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) { if (uv_idle_init(tcp->loop, tcp->idle_handle)) abort(); + tcp->idle_handle->flags |= UV__HANDLE_INTERNAL; tcp->flags |= UV_TCP_SINGLE_ACCEPT;