Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2020-03-30 11:37:57 +0300
committerMichaël Zasso <targos@protonmail.com>2020-04-11 11:05:39 +0300
commit4df3ac2a639ecdb08e9dbe48c2a4b40d6d3ae3ab (patch)
treebc946240617de2858af4c557112ecf1bbcb8b9d5 /src/node_worker.h
parent0faaa7c84cfe3dfe52e3fa8d175843e3eed49bd6 (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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/node_worker.h b/src/node_worker.h
index dbd28610994..5591843c4b4 100644
--- a/src/node_worker.h
+++ b/src/node_worker.h
@@ -86,7 +86,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;
uint64_t thread_id_ = -1;
uintptr_t stack_base_ = 0;