Commits

Seth ProductEngine committed b369159

EXP-1766 FIXED Disabled updating agent AFK state if the viewer is disconnected. Possible crash fix.

Comments (0)

Files changed (1)

indra/newview/llviewerwindow.cpp

 
 	mWindow->showCursorFromMouseMove();
 
-	if (gAwayTimer.getElapsedTimeF32() > LLAgent::MIN_AFK_TIME)
+	if (gAwayTimer.getElapsedTimeF32() > LLAgent::MIN_AFK_TIME
+		&& !gDisconnected)
 	{
 		gAgent.clearAFK();
 	}