Crahfix for avatars, as destruction can be delayed via llpointer refs, meaning the region the av was in could be long gone before the avs destructor is actually called. Calling logPendingPhases in a more reasonable place (markDead).
This commit is contained in:
@@ -1120,7 +1120,7 @@ LLVOAvatar::~LLVOAvatar()
|
||||
}
|
||||
}
|
||||
|
||||
logPendingPhases();
|
||||
//logPendingPhases();
|
||||
|
||||
lldebugs << "LLVOAvatar Destructor (0x" << this << ") id:" << mID << llendl;
|
||||
|
||||
@@ -1156,7 +1156,12 @@ void LLVOAvatar::markDead()
|
||||
}
|
||||
mVoiceVisualizer->markDead();
|
||||
LLLoadedCallbackEntry::cleanUpCallbackList(&mCallbackTextureList) ;
|
||||
|
||||
if(!isDead())
|
||||
logPendingPhases();
|
||||
|
||||
LLViewerObject::markDead();
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user