From 53f2381455a0f8635168cd2b5728e2495086f2b7 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 13 Mar 2013 10:16:26 -0700 Subject: [PATCH] core: Unwrap without aborting in handle fd getter --- src/stream_wrap.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index 544c1f8..fb6edbc 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -122,7 +122,7 @@ Handle StreamWrap::GetFD(Local, const AccessorInfo& args) { return v8::Null(); #else HandleScope scope; - UNWRAP(StreamWrap) + UNWRAP_NO_ABORT(StreamWrap) int fd = -1; if (wrap != NULL && wrap->stream_ != NULL) fd = wrap->stream_->io_watcher.fd; return scope.Close(Integer::New(fd)); -- 2.7.4