diff options
author | Leyla Farazha <leyla@lindenlab.com> | 2010-01-04 15:04:38 -0800 |
---|---|---|
committer | Leyla Farazha <leyla@lindenlab.com> | 2010-01-04 15:04:38 -0800 |
commit | 53abe3c7802b8c8579ce868b4ecb05d9ebdd20ef (patch) | |
tree | 4a2c9b325f6ceb75403db9d29e1efa583de434e3 /indra/newview/lltexturecache.cpp | |
parent | 34328eed67a10ccca73ec78cd70488ac35f2ee91 (diff) | |
parent | 1355d16d2f24f9d623df70059b1f0001cf673209 (diff) |
Merge
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); |