diff options
author | Loren Shih <seraph@lindenlab.com> | 2010-11-04 14:44:00 -0400 |
---|---|---|
committer | Loren Shih <seraph@lindenlab.com> | 2010-11-04 14:44:00 -0400 |
commit | 889aff8d87a4dbf3ca43c43bdeed825f67fd5e60 (patch) | |
tree | 0132d441993d7b26fb67e061f0c2ad50033fde8b /indra/newview/llworld.cpp | |
parent | e2714252f34b02ee628fb1665dfa90b932fab2f7 (diff) | |
parent | 3bbaac0b9d246939a2255ca8b06abf9568694370 (diff) |
automated merge from http://hg.secondlife.com/viewer-beta
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(); } |