MAINT-871 Fix for freeze on shutdown while calculating weights and fees of a mesh.
parent
b2999c5089
commit
6a0eaab160
|
|
@ -1659,7 +1659,7 @@ void LLMeshUploadThread::requestWholeModelFee()
|
|||
mCurlRequest->process();
|
||||
//sleep for 10ms to prevent eating a whole core
|
||||
apr_sleep(10000);
|
||||
} while (mCurlRequest->getQueued() > 0);
|
||||
} while (!LLApp::isQuitting() && mCurlRequest->getQueued() > 0);
|
||||
|
||||
delete mCurlRequest;
|
||||
mCurlRequest = NULL;
|
||||
|
|
|
|||
Loading…
Reference in New Issue