summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGireesh Punathil <gpunathi@in.ibm.com>2019-02-14 11:38:44 -0500
committerGireesh Punathil <gpunathi@in.ibm.com>2019-02-16 12:38:23 +0530
commit006947be9866fb951661fb4e039739488c09061d (patch)
tree559f0e15474e5be4d7b3094c1701684ae5db203d /src
parenta8c3adfbda51e99b8e0d54ebdb3207e16d728d51 (diff)
downloadandroid-node-v8-006947be9866fb951661fb4e039739488c09061d.tar.gz
android-node-v8-006947be9866fb951661fb4e039739488c09061d.tar.bz2
android-node-v8-006947be9866fb951661fb4e039739488c09061d.zip
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 <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/node_worker.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/node_worker.cc b/src/node_worker.cc
index f38b187c18..53789de1e8 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.