fix for sh-2735: LLCurl causes SL to freeze when logout
parent
9b46ed5f81
commit
c9c03ffa0c
|
|
@ -1781,6 +1781,7 @@ bool LLAppViewer::cleanup()
|
|||
pending += LLAppViewer::getTextureFetch()->update(1); // unpauses the texture fetch thread
|
||||
pending += LLVFSThread::updateClass(0);
|
||||
pending += LLLFSThread::updateClass(0);
|
||||
pending += LLCurl::getCurlThread()->update(1) ;
|
||||
F64 idle_time = idleTimer.getElapsedTimeF64();
|
||||
if(!pending)
|
||||
{
|
||||
|
|
@ -1792,6 +1793,7 @@ bool LLAppViewer::cleanup()
|
|||
break;
|
||||
}
|
||||
}
|
||||
LLCurl::getCurlThread()->pause() ;
|
||||
|
||||
// Delete workers first
|
||||
// shotdown all worker threads before deleting them in case of co-dependencies
|
||||
|
|
|
|||
Loading…
Reference in New Issue