Skip to content

Commit

Permalink
worker: remove duplicate call
Browse files Browse the repository at this point in the history
`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]>
  • Loading branch information
gireeshpunathil authored and rvagg committed Feb 28, 2019
1 parent 6929871 commit 8045e40
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/node_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,6 @@ void Worker::Run() {
stopped_ = true;
}

env_->RunCleanup();

// This call needs to be made while the `Environment` is still alive
// because we assume that it is available for async tracking in the
// NodePlatform implementation.
Expand Down

0 comments on commit 8045e40

Please sign in to comment.