Skip to content
Snippets Groups Projects
Commit cce2a3b7 authored by Xiaohong Bao's avatar Xiaohong Bao
Browse files

release memory held by LLWorld when destroy it.

parent b594d3b0
Branches
Tags
No related merge requests found
...@@ -131,6 +131,12 @@ void LLWorld::destroyClass() ...@@ -131,6 +131,12 @@ void LLWorld::destroyClass()
LLVOCache::getInstance()->destroyClass() ; LLVOCache::getInstance()->destroyClass() ;
} }
LLViewerPartSim::getInstance()->destroyClass(); LLViewerPartSim::getInstance()->destroyClass();
mDefaultWaterTexturep = NULL ;
for (S32 i = 0; i < 8; i++)
{
mEdgeWaterObjects[i] = NULL;
}
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment