diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-08-29 16:45:29 +0300 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2017-08-29 16:45:29 +0300 |
commit | a0b57c0cd7621fa8575d8f05eaa958323aa106fc (patch) | |
tree | ce9495f4e0cefe84d44a8e860038ebde842b8031 /indra/newview | |
parent | 8ed869a22e372b0fc1eefdd010e97994e97417c9 (diff) |
SL-776 Disk cache purge not purging headers if headers are corrupt or on version mismatch
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltexturecache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 8b90a0a737..e8b3842ae5 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1615,9 +1615,9 @@ void LLTextureCache::purgeAllTextures(bool purge_directories) gDirUtilp->deleteFilesInDir(dirname, mask); } } + gDirUtilp->deleteFilesInDir(mTexturesDirName, mask); // headers, fast cache if (purge_directories) { - gDirUtilp->deleteFilesInDir(mTexturesDirName, mask); LLFile::rmdir(mTexturesDirName); } } |