From 3d20905b7055dec006041c1fda0094bef17c80ee Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 6 Mar 2013 15:24:20 +0100 Subject: handle_wrap: replace unref_ field with flags_ field Prep work for a follow-up commit that adds support for close callbacks. --- src/handle_wrap.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/handle_wrap.h') diff --git a/src/handle_wrap.h b/src/handle_wrap.h index 951b9386f5..c77ec77f1a 100644 --- a/src/handle_wrap.h +++ b/src/handle_wrap.h @@ -70,7 +70,9 @@ class HandleWrap { // Using double underscore due to handle_ member in tcp_wrap. Probably // tcp_wrap should rename it's member to 'handle'. uv_handle_t* handle__; - bool unref_; + unsigned int flags_; + + static const unsigned int kUnref = 1; }; -- cgit v1.2.3