diff options
author | Brad Linden <brad@lindenlab.com> | 2022-12-12 17:59:34 -0800 |
---|---|---|
committer | Brad Linden <brad@lindenlab.com> | 2022-12-12 17:59:34 -0800 |
commit | eb526fec0aadcaf30363fdfb1e253a609bf83acc (patch) | |
tree | 6071628f41ca793007b645aa30d255044ddbfe43 /indra/newview/lltexturecache.cpp | |
parent | c9c611fd12f55ac6d6717ba17139ba61a6db581f (diff) | |
parent | a0c3d69c620a92d73a1008f218680fb4d0ef9255 (diff) |
Merge remote-tracking branch 'origin/main' into DRTVWR-559
Diffstat (limited to 'indra/newview/lltexturecache.cpp')
-rw-r--r-- | indra/newview/lltexturecache.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/lltexturecache.cpp b/indra/newview/lltexturecache.cpp index 8b79c7d911..d873f5524f 100644 --- a/indra/newview/lltexturecache.cpp +++ b/indra/newview/lltexturecache.cpp @@ -1592,6 +1592,12 @@ void LLTextureCache::purgeAllTextures(bool purge_directories) { gDirUtilp->deleteFilesInDir(dirname, mask); } +#if LL_WINDOWS + // Texture cache can be large and can take a while to remove + // assure OS that processes is alive and not hanging + MSG msg; + PeekMessage(&msg, 0, 0, 0, PM_NOREMOVE | PM_NOYIELD); +#endif } gDirUtilp->deleteFilesInDir(mTexturesDirName, mask); // headers, fast cache if (purge_directories) |