diff options
author | Anna Henningsen <anna@addaleax.net> | 2020-03-30 11:37:57 +0300 |
---|---|---|
committer | Anna Henningsen <anna@addaleax.net> | 2020-04-02 19:13:09 +0300 |
commit | f558a765dad2258176fc70dbecc035f9ed46c8e9 (patch) | |
tree | f09b4a133ac1c6fbbee067d2cea10bbefdc331e9 /src/node_worker.h | |
parent | be876510bf6e0eae8a3cd1f6b8ac669b3d397fb4 (diff) |
src: remove loop_init_failed_ from Worker class
There’s no reason for this to not be stored alongside the loop
data structure itself.
PR-URL: https://github.com/nodejs/node/pull/32562
Refs: https://github.com/nodejs/node/pull/32344
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'src/node_worker.h')
-rw-r--r-- | src/node_worker.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_worker.h b/src/node_worker.h index 384a9f160e0..b962e5757a6 100644 --- a/src/node_worker.h +++ b/src/node_worker.h @@ -83,7 +83,6 @@ class Worker : public AsyncWrap { bool thread_joined_ = true; const char* custom_error_ = nullptr; std::string custom_error_str_; - bool loop_init_failed_ = false; int exit_code_ = 0; ThreadId thread_id_; uintptr_t stack_base_ = 0; |