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.
meow-7.2.2
Andrey Kleshchev 2020-10-12 22:24:46 +03:00 committed by Ansariel
parent 28c6f192cf
commit 876f7f48bb
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,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