diff options
author | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-30 13:25:18 +0200 |
---|---|---|
committer | Vadim Savchuk <vsavchuk@productengine.com> | 2009-12-30 13:25:18 +0200 |
commit | db482969ed69b16b1755599750dd2d80cb4daff8 (patch) | |
tree | 70e6afc4826ee8e3e3cb7b36b6a5a0ff52b79f9a /indra/newview/lltexturecache.cpp | |
parent | 1febd28bd41f3ba0102a86da48f3098eebbbdb8a (diff) | |
parent | f4e2287175ab1bc9d09fc73435a828071b9e2ba5 (diff) |
Merge from default branch.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/lltexturecache.cpp')
-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); |