diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-02-01 13:42:30 +0300 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2020-02-04 09:02:34 +0300 |
commit | 60de60a0ce21378c80353489759dc70f05156cc7 (patch) | |
tree | e8c9e18f555d44484a95b529db1a63eb5bba7e67 /src/node_worker.h | |
parent | ee9e689df2dd219084820d1adb7a97d104726794 (diff) |
src: remove unused `Worker::child_port_` member
This fixes a compiler warning introduced in 9225939528590f652e6.
PR-URL: https://github.com/nodejs/node/pull/31599
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/node_worker.h')
-rw-r--r-- | src/node_worker.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/node_worker.h b/src/node_worker.h index 893e03db53f..744c31a9932 100644 --- a/src/node_worker.h +++ b/src/node_worker.h @@ -100,9 +100,6 @@ class Worker : public AsyncWrap { std::unique_ptr<MessagePortData> child_port_data_; std::shared_ptr<KVStore> env_vars_; - // The child port is kept alive by the child Environment's persistent - // handle to it, as long as that child Environment exists. - MessagePort* child_port_ = nullptr; // This is always kept alive because the JS object associated with the Worker // instance refers to it via its [kPort] property. MessagePort* parent_port_ = nullptr; |