From 006947be9866fb951661fb4e039739488c09061d Mon Sep 17 00:00:00 2001 From: Gireesh Punathil Date: Thu, 14 Feb 2019 11:38:44 -0500 Subject: [PATCH] worker: remove duplicate call `Environment::RunCleanup` is invoked twice in a row, remove one. PR-URL: https://github.com/nodejs/node/pull/26104 Reviewed-By: James M Snell Reviewed-By: Anna Henningsen Reviewed-By: Benjamin Gruenbaum Reviewed-By: Colin Ihrig Reviewed-By: Richard Lau --- src/node_worker.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/node_worker.cc b/src/node_worker.cc index f38b187c18c5b8..53789de1e89550 100644 --- a/src/node_worker.cc +++ b/src/node_worker.cc @@ -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.