Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-07-21 06:55:12 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-07-21 06:57:03 +0400
commit133036fdadbca1099cf1cf589987eea01236722e (patch)
treee5dcf60cf26bd8faf652e1aa2d856b635e776e00 /src
parent1b89323e92001481f7b0e1f14736d288b58b160e (diff)
upgrade libuv to 6e50576
Diffstat (limited to 'src')
-rw-r--r--src/handle_wrap.cc11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/handle_wrap.cc b/src/handle_wrap.cc
index c34c1c2e624..140b8bad16d 100644
--- a/src/handle_wrap.cc
+++ b/src/handle_wrap.cc
@@ -40,18 +40,11 @@ Handle<Value> HandleWrap::Close(const Arguments& args) {
UNWRAP
assert(!wrap->object_.IsEmpty());
- int r = uv_close(wrap->handle__, OnClose);
+ uv_close(wrap->handle__, OnClose);
wrap->StateChange();
- if (r) {
- SetErrno(uv_last_error().code);
-
- wrap->object_->SetPointerInInternalField(0, NULL);
- wrap->object_.Dispose();
- wrap->object_.Clear();
- }
- return scope.Close(Integer::New(r));
+ return v8::Null();
}