From f15f564b370bcb0057a3e5798fd45c701a8c237e Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Thu, 28 Dec 2023 14:27:08 +0800 Subject: [PATCH] fix init failed --- src/ulib/system/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ulib/system/thread.cpp b/src/ulib/system/thread.cpp index 6202af3..df38606 100644 --- a/src/ulib/system/thread.cpp +++ b/src/ulib/system/thread.cpp @@ -19,7 +19,7 @@ GetTid() class Thread::Impl { public: Impl(const ThreadFunc &func, const std::string &thread_name) - : thread_(nullptr), + : thread_(), started_(false), joined_(false), thread_name_(thread_name),