diff options
Diffstat (limited to 'src/node_v8.cc')
-rw-r--r-- | src/node_v8.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_v8.cc b/src/node_v8.cc index b71b2a384d..0c7d5f3ebd 100644 --- a/src/node_v8.cc +++ b/src/node_v8.cc @@ -173,7 +173,6 @@ void Environment::StopGarbageCollectionTracking() { void StartGarbageCollectionTracking(const FunctionCallbackInfo<Value>& args) { CHECK(args[0]->IsFunction() == true); - HandleScope handle_scope(args.GetIsolate()); Environment* env = Environment::GetCurrent(args.GetIsolate()); env->StartGarbageCollectionTracking(args[0].As<Function>()); } @@ -181,7 +180,6 @@ void StartGarbageCollectionTracking(const FunctionCallbackInfo<Value>& args) { void GetHeapStatistics(const FunctionCallbackInfo<Value>& args) { Isolate* isolate = args.GetIsolate(); - HandleScope handle_scope(isolate); Environment* env = Environment::GetCurrent(isolate); HeapStatistics s; isolate->GetHeapStatistics(&s); @@ -202,7 +200,6 @@ void GetHeapStatistics(const FunctionCallbackInfo<Value>& args) { void StopGarbageCollectionTracking(const FunctionCallbackInfo<Value>& args) { - HandleScope handle_scope(args.GetIsolate()); Environment::GetCurrent(args.GetIsolate())->StopGarbageCollectionTracking(); } |