Author: Ebuka Ezike Date: 2026-01-26T14:03:26Z New Revision: ad207cc2ed5d5c153e5e4742a54af88dc98d8e5d
URL: https://github.com/llvm/llvm-project/commit/ad207cc2ed5d5c153e5e4742a54af88dc98d8e5d DIFF: https://github.com/llvm/llvm-project/commit/ad207cc2ed5d5c153e5e4742a54af88dc98d8e5d.diff LOG: [lldb-dap] Join the ProgressEventReporter thread if possible (#176984) It is not easily noticeable because it mostly happens when ending the debug session. Added: Modified: lldb/tools/lldb-dap/ProgressEvent.cpp Removed: ################################################################################ diff --git a/lldb/tools/lldb-dap/ProgressEvent.cpp b/lldb/tools/lldb-dap/ProgressEvent.cpp index e53ec40180a6d..5ef03ccb24bb9 100644 --- a/lldb/tools/lldb-dap/ProgressEvent.cpp +++ b/lldb/tools/lldb-dap/ProgressEvent.cpp @@ -195,7 +195,8 @@ ProgressEventReporter::ProgressEventReporter( ProgressEventReporter::~ProgressEventReporter() { m_thread_should_exit = true; - m_thread.join(); + if (m_thread.joinable()) + m_thread.join(); } void ProgressEventReporter::ReportStartEvents() { _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
