summaryrefslogtreecommitdiff
path: root/src/node_worker.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/node_worker.h')
-rw-r--r--src/node_worker.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_worker.h b/src/node_worker.h
index 9510faafe6..b23ab704b0 100644
--- a/src/node_worker.h
+++ b/src/node_worker.h
@@ -70,7 +70,7 @@ class Worker : public AsyncWrap {
bool thread_joined_ = true;
int exit_code_ = 0;
uint64_t thread_id_ = -1;
- uintptr_t stack_base_;
+ uintptr_t stack_base_ = 0;
// Full size of the thread's stack.
static constexpr size_t kStackSize = 4 * 1024 * 1024;