diff options
author | Dave Parks <davep@lindenlab.com> | 2022-04-26 16:38:47 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-04-26 16:38:47 -0500 |
commit | a00a569ac85b5a9e3198444eee9919af4e7e4a72 (patch) | |
tree | 4319d66cee0da1178c28ed42d2ccf2a80a32a912 /indra/newview/llvocache.cpp | |
parent | 436544a51a99da007cdb702cee338ffb85da85a5 (diff) |
SL-17276 Potential fix for crash on shutdown on mac.
Diffstat (limited to 'indra/newview/llvocache.cpp')
-rw-r--r-- | indra/newview/llvocache.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp index e10a9f9bcb..db8ad183f0 100644 --- a/indra/newview/llvocache.cpp +++ b/indra/newview/llvocache.cpp @@ -632,6 +632,13 @@ LLVOCachePartition::LLVOCachePartition(LLViewerRegion* regionp) new LLVOCacheGroup(mOctree, this); } +LLVOCachePartition::~LLVOCachePartition() +{ + // SL-17276 make sure to do base class cleanup while this instance + // can still be treated as an LLVOCachePartition + cleanup(); +} + bool LLVOCachePartition::addEntry(LLViewerOctreeEntry* entry) { llassert(entry->hasVOCacheEntry()); |