Commits

Nicky  committed 6e22c1b

Crashfix: During cleanup gAgentAvatarp can already be 0.

  • Participants
  • Parent commits d363dd1

Comments (0)

Files changed (1)

File indra/newview/llappearancemgr.cpp

 
 std::string self_av_string()
 {
-	return gAgentAvatarp->avString();
+	// On logout gAgentAvatarp can already be invalid
+	return isAgentAvatarValid() ? gAgentAvatarp->avString() : "";
 }
 
 // RAII thingy to guarantee that a variable gets reset when the Setter