diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llvoavatar.cpp | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index c5c1c3b57a..df34dda65e 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -763,6 +763,13 @@ std::string LLVOAvatar::avString() const  void LLVOAvatar::debugAvatarRezTime(std::string notification_name, std::string comment)  { +    if (gDisconnected) +    { +        // If we disconected, these values are likely to be invalid and +        // avString() might crash due to a dead sAvatarDictionary +        return; +    } +  	LL_INFOS("Avatar") << "REZTIME: [ " << (U32)mDebugExistenceTimer.getElapsedTimeF32()  					   << "sec ]"  					   << avString()   | 
