summaryrefslogtreecommitdiff
path: root/src/handle_wrap.h
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-09-27 15:01:12 -0700
committerRyan Dahl <ry@tinyclouds.org>2011-09-27 15:01:28 -0700
commit7e62bc9828ab0cf322a0769702656f824fe8165c (patch)
tree6f36ca94e5de55d5965b225156a74076ff21e623 /src/handle_wrap.h
parent0a42266824edc10049f26659c83a35e304866617 (diff)
downloadandroid-node-v8-7e62bc9828ab0cf322a0769702656f824fe8165c.tar.gz
android-node-v8-7e62bc9828ab0cf322a0769702656f824fe8165c.tar.bz2
android-node-v8-7e62bc9828ab0cf322a0769702656f824fe8165c.zip
Move process.stdout unref hack to handle_wrap.cc
See #1726
Diffstat (limited to 'src/handle_wrap.h')
-rw-r--r--src/handle_wrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/handle_wrap.h b/src/handle_wrap.h
index 1637607049..6f306f4a3a 100644
--- a/src/handle_wrap.h
+++ b/src/handle_wrap.h
@@ -27,6 +27,7 @@ class HandleWrap {
public:
static void Initialize(v8::Handle<v8::Object> target);
static v8::Handle<v8::Value> Close(const v8::Arguments& args);
+ static v8::Handle<v8::Value> Unref(const v8::Arguments& args);
protected:
HandleWrap(v8::Handle<v8::Object> object, uv_handle_t* handle);
@@ -42,6 +43,7 @@ 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;
};