unix: mark accept idle handle as internal

This commit is contained in:
Bert Belder 2012-09-08 17:52:57 +02:00
parent 817b6c356b
commit 27b11abcc0

View File

@ -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;