From 90b16afed0937b3cbc0a0e308f5cf5e01b1080b6 Mon Sep 17 00:00:00 2001 From: aaccttrr Date: Tue, 28 Jan 2020 15:46:36 +0000 Subject: [PATCH] worker: removed redundant closing of child port. --- src/node_worker.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_worker.cc b/src/node_worker.cc index 9acec1a8cbca8d..b350219d813832 100644 --- a/src/node_worker.cc +++ b/src/node_worker.cc @@ -261,8 +261,6 @@ void Worker::Run() { { Context::Scope context_scope(env_->context()); - if (child_port != nullptr) - child_port->Close(); { Mutex::ScopedLock lock(mutex_); stopped_ = true;