Skip to content

Commit 5500521

Browse files
aaccttrrcodebytere
authored andcommitted
worker: remove redundant closing of child port
PR-URL: #31555 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: David Carlier <[email protected]> Reviewed-By: Rich Trott <[email protected]>
1 parent af61c5d commit 5500521

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_worker.cc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,6 @@ void Worker::Run() {
263263

264264
{
265265
Context::Scope context_scope(env_->context());
266-
if (child_port != nullptr)
267-
child_port->Close();
268266
{
269267
Mutex::ScopedLock lock(mutex_);
270268
stopped_ = true;

0 commit comments

Comments
 (0)