Commits

davep committed 58eaeef

SH-2031 Fix for sometimes deadlocking a curl thread.

Comments (0)

Files changed (1)

indra/llmessage/llcurl.cpp

 {
 	if (mPerformState == PERFORM_STATE_READY)
 	{
-		mPerformState = PERFORM_STATE_PERFORMING;
 		mSignal->signal();
 	}
 }
 	while (!mQuitting)
 	{
 		mSignal->wait();
-
+		mPerformState = PERFORM_STATE_PERFORMING;
 		if (!mQuitting)
 		{
 			S32 q = 0;