SL-13980 Crash at cullAvatarsByPixelArea
LLVOAvatars and derived classes appear to be stored as LLPointer<LLViewerObject> in a lot of cases, so non-virtual ~LLViewerObject() might be triggered by LLPointer and end up not cleaning sInstances in some cases (animeshes specific?), thus causing broken pointers in sInstances.master
parent
a5dd5037f8
commit
fa52c03939
|
|
@ -114,7 +114,7 @@ class LLViewerObject
|
|||
public LLTrace::MemTrackable<LLViewerObject>
|
||||
{
|
||||
protected:
|
||||
~LLViewerObject(); // use unref()
|
||||
virtual ~LLViewerObject(); // use unref()
|
||||
|
||||
// TomY: Provide for a list of extra parameter structures, mapped by structure name
|
||||
struct ExtraParameter
|
||||
|
|
|
|||
Loading…
Reference in New Issue