Skip to content

Commit 6fdef45

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 cde4b51 commit 6fdef45

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
@@ -261,8 +261,6 @@ void Worker::Run() {
261261

262262
{
263263
Context::Scope context_scope(env_->context());
264-
if (child_port != nullptr)
265-
child_port->Close();
266264
{
267265
Mutex::ScopedLock lock(mutex_);
268266
stopped_ = true;

0 commit comments

Comments
 (0)