summaryrefslogtreecommitdiff
path: root/src/node_worker.cc
diff options
context:
space:
mode:
authorShelley Vohr <shelley.vohr@gmail.com>2020-02-24 19:14:15 -0800
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-27 08:04:40 -0800
commit18ddb1da38ad6eb78c357f182b5379a8ab3332ce (patch)
treed35ed217d407830a3697d03880778f9129c19962 /src/node_worker.cc
parenta29b6cd921fddeaed07b3a68b4c4f75a26b3e61f (diff)
downloadnode-new-18ddb1da38ad6eb78c357f182b5379a8ab3332ce.tar.gz
src: move InternalCallbackScope to StartExecution
PR-URL: https://github.com/nodejs/node/pull/31944 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Stephen Belanger <admin@stephenbelanger.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'src/node_worker.cc')
-rw-r--r--src/node_worker.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc
index b7532f8242..d6e0ebb36f 100644
--- a/src/node_worker.cc
+++ b/src/node_worker.cc
@@ -341,11 +341,6 @@ void Worker::Run() {
env_->InitializeInspector(std::move(inspector_parent_handle_));
#endif
HandleScope handle_scope(isolate_);
- InternalCallbackScope callback_scope(
- env_.get(),
- Object::New(isolate_),
- { 1, 0 },
- InternalCallbackScope::kSkipAsyncHooks);
if (!env_->RunBootstrapping().IsEmpty()) {
CreateEnvMessagePort(env_.get());