From d57f7c0e0630f7c37bcee86406e768ae61023bc5 Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Sun, 16 Apr 2023 20:05:13 -0400 Subject: [PATCH] Fix thing --- indra/llcommon/llthread.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/indra/llcommon/llthread.cpp b/indra/llcommon/llthread.cpp index 12e42a0cd0b..a8482872eed 100644 --- a/indra/llcommon/llthread.cpp +++ b/indra/llcommon/llthread.cpp @@ -257,7 +257,6 @@ void LLThread::shutdown() pthread_cancel(mNativeHandle); #endif mRecorder.reset(); - mStatus = STOPPED; return; } @@ -271,7 +270,7 @@ void LLThread::shutdown() // missed chance to properly shut down recorder (needs to be done in thread context) // probably due to abnormal thread termination // so just leak it and remove it from parent - LLTrace::get_master_thread_recorder()->removeChildRecorder(mRecorder.get()); + LLTrace::get_master_thread_recorder()->removeChildRecorder(mRecorder.release()); } } -- GitLab