Skip to content
Snippets Groups Projects
Commit d57f7c0e authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix thing

parent a11e3bcd
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -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());
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment