MAINT-5651 LLTrace issues on exit

master
andreykproductengine 2018-08-21 20:30:24 +03:00
parent ae1e9ca0a4
commit c032bab9df
1 changed files with 3 additions and 2 deletions

View File

@ -249,9 +249,10 @@ void LLThread::shutdown()
// This thread just wouldn't stop, even though we gave it time
//LL_WARNS() << "LLThread::~LLThread() exiting thread before clean exit!" << LL_ENDL;
// Put a stake in its heart.
delete mRecorder;
apr_thread_exit(mAPRThreadp, -1);
delete mRecorder;
mRecorder = NULL;
mStatus = STOPPED;
return;
}
mAPRThreadp = NULL;