summaryrefslogtreecommitdiff
path: root/test/addons/async-hello-world
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel@vanguardiasur.com.ar>2017-06-19 20:18:12 -0300
committerTobias Nießen <tniessen@tnie.de>2017-06-28 14:13:07 +0200
commitea12038ffe0573a1eff9daf7190b2931b352a8f8 (patch)
treea1c5f4f9e15456ce95e8024ed32dca7805261153 /test/addons/async-hello-world
parentf85d5b21fda925b879cf27bdcde81478fc134b31 (diff)
downloadandroid-node-v8-ea12038ffe0573a1eff9daf7190b2931b352a8f8.tar.gz
android-node-v8-ea12038ffe0573a1eff9daf7190b2931b352a8f8.tar.bz2
android-node-v8-ea12038ffe0573a1eff9daf7190b2931b352a8f8.zip
test: remove unneeded HandleScope usage
These methods are Javascript-accessible so they get an implicit HandleScope. The extra scope is unneeded and can be dropped. PR-URL: https://github.com/nodejs/node/pull/13859 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Diffstat (limited to 'test/addons/async-hello-world')
-rw-r--r--test/addons/async-hello-world/binding.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/addons/async-hello-world/binding.cc b/test/addons/async-hello-world/binding.cc
index 70fee63aa5..da2bd417cd 100644
--- a/test/addons/async-hello-world/binding.cc
+++ b/test/addons/async-hello-world/binding.cc
@@ -55,7 +55,6 @@ void AfterAsync(uv_work_t* r) {
void Method(const v8::FunctionCallbackInfo<v8::Value>& args) {
v8::Isolate* isolate = args.GetIsolate();
- v8::HandleScope scope(isolate);
async_req* req = new async_req;
req->req.data = req;