diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-11 10:34:16 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2013-11-12 22:06:48 +0100 |
commit | c0d62c207ee67492619bde4af46502b5a3ce6a66 (patch) | |
tree | 37bcd5967aa83646337fb1f318dceb9529832461 /src/stream_wrap.cc | |
parent | fd819efbdfbcf03d4f68b297f9003e160bb6b58d (diff) | |
download | android-node-v8-c0d62c207ee67492619bde4af46502b5a3ce6a66.tar.gz android-node-v8-c0d62c207ee67492619bde4af46502b5a3ce6a66.tar.bz2 android-node-v8-c0d62c207ee67492619bde4af46502b5a3ce6a66.zip |
crypto: fix up implicit HandleScope abuse
Don't depend on any HandleScope objects that may or may not have been
created in src/stream_wrap.cc, create them explicitly.
Diffstat (limited to 'src/stream_wrap.cc')
-rw-r--r-- | src/stream_wrap.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/stream_wrap.cc b/src/stream_wrap.cc index 69ba23d7c4..2274eff0f4 100644 --- a/src/stream_wrap.cc +++ b/src/stream_wrap.cc @@ -143,8 +143,6 @@ void StreamWrap::OnReadCommon(uv_stream_t* handle, ssize_t nread, const uv_buf_t* buf, uv_handle_type pending) { - HandleScope scope(node_isolate); - StreamWrap* wrap = static_cast<StreamWrap*>(handle->data); // We should not be getting this callback if someone as already called |