MAINT-871 Fix for freeze on shutdown while calculating weights and fees of a mesh.

meow-7.2.2
Dave Parks 2012-04-13 14:47:30 -05:00
parent b2999c5089
commit 6a0eaab160
1 changed files with 1 additions and 1 deletions

View File

@ -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;