To prevent logout crahes, do not call logPendingPhases once gAgentAvatarp is 0.
parent
26114cc195
commit
4f2f604e56
|
|
@ -761,8 +761,14 @@ LLVOAvatar::~LLVOAvatar()
|
|||
debugAvatarRezTime("AvatarRezLeftNotification","left sometime after declouding");
|
||||
}
|
||||
|
||||
logPendingPhases();
|
||||
// <FS:ND> only call logPendingPhases if we're still alive. Otherwise this can lead to shutdown crashes
|
||||
|
||||
// logPendingPhases();
|
||||
if (isAgentAvatarValid())
|
||||
logPendingPhases();
|
||||
|
||||
// </FS:ND>
|
||||
|
||||
lldebugs << "LLVOAvatar Destructor (0x" << this << ") id:" << mID << llendl;
|
||||
|
||||
std::for_each(mAttachmentPoints.begin(), mAttachmentPoints.end(), DeletePairedPointer());
|
||||
|
|
|
|||
Loading…
Reference in New Issue