Skip to content

Commit 8045e40

Browse files
gireeshpunathilrvagg
authored andcommitted
worker: remove duplicate call
`Environment::RunCleanup` is invoked twice in a row, remove one. PR-URL: #26104 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Richard Lau <[email protected]>
1 parent 6929871 commit 8045e40

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
@@ -217,8 +217,6 @@ void Worker::Run() {
217217
stopped_ = true;
218218
}
219219

220-
env_->RunCleanup();
221-
222220
// This call needs to be made while the `Environment` is still alive
223221
// because we assume that it is available for async tracking in the
224222
// NodePlatform implementation.

0 commit comments

Comments
 (0)