Skip to content

Commit 9225939

Browse files
aaccttrrTrott
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 d4c81be commit 9225939

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/node_worker.cc

-2
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)