diff options
| author | Xiaohong Bao <bao@lindenlab.com> | 2009-12-29 17:42:54 -0700 | 
|---|---|---|
| committer | Xiaohong Bao <bao@lindenlab.com> | 2009-12-29 17:42:54 -0700 | 
| commit | 10c66905613b91e6b3cf1fd3f8455a8ed8e243a4 (patch) | |
| tree | fe1428108bd95cc2be005b1f0b78b9b2abe05f08 /indra/newview | |
| parent | 5c8c4c9de14816d61766d128731b3a42ccad7f0c (diff) | |
fix for EXT-3553: unknown Crash.
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/lltexturecache.cpp | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 845e71378a..051c189013 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -934,6 +934,8 @@ void LLTextureCache::setDirNames(ELLPath location)  void LLTextureCache::purgeCache(ELLPath location)  { +	LLMutexLock lock(&mHeaderMutex); +  	if (!mReadOnly)  	{  		setDirNames(location); | 
