diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-10-27 16:19:18 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-10-27 16:19:18 -0400 |
commit | 639bb11eefaa82e2875be99fc2222162fe45e437 (patch) | |
tree | 85300dcdb3b5ef6d365359190ccf5e00c59377cd /indra/newview/llworld.cpp | |
parent | 158e647247f67344a5d7a9dde6ccc80bad615c9a (diff) | |
parent | 8d4dd1bcb9184093df807af12364f499c1f5fccf (diff) |
Automated merge from viewer-development-shining
Diffstat (limited to 'indra/newview/llworld.cpp')
-rw-r--r-- | indra/newview/llworld.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp index 8731c9e1a7..8fabaaba80 100644 --- a/indra/newview/llworld.cpp +++ b/indra/newview/llworld.cpp @@ -126,7 +126,10 @@ void LLWorld::destroyClass() LLViewerRegion* region_to_delete = *region_it++; removeRegion(region_to_delete->getHost()); } - LLVOCache::getInstance()->destroyClass() ; + if(LLVOCache::hasInstance()) + { + LLVOCache::getInstance()->destroyClass() ; + } LLViewerPartSim::getInstance()->destroyClass(); } |