Commits

davep committed 4f9a337

MAINT-890 Fix for freeze on exit when a mesh upload is pending.

Comments (0)

Files changed (1)

indra/newview/llmeshrepository.cpp

 			mCurlRequest->process();
 			//sleep for 10ms to prevent eating a whole core
 			apr_sleep(10000);
-		} while (mCurlRequest->getQueued() > 0);
+		} while (!LLAppViewer::isQuitting() && mCurlRequest->getQueued() > 0);
 	}
 
 	delete mCurlRequest;