Skip to content
Snippets Groups Projects
Commit 4e3da67c authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Clear new cef_data dir from cache

parent dbd3e056
No related branches found
No related tags found
No related merge requests found
...@@ -4373,6 +4373,11 @@ void LLAppViewer::purgeCache() ...@@ -4373,6 +4373,11 @@ void LLAppViewer::purgeCache()
// cef does not support clear_cache and clear_cookies, so clear what we can manually. // cef does not support clear_cache and clear_cookies, so clear what we can manually.
gDirUtilp->deleteDirAndContents(browser_cache); gDirUtilp->deleteDirAndContents(browser_cache);
} }
std::string browser_data = gDirUtilp->getExpandedFilename(LL_PATH_CACHE, "cef_data");
if (LLFile::isdir(browser_data))
{
gDirUtilp->deleteDirAndContents(browser_data);
}
gDirUtilp->deleteFilesInDir(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, ""), "*"); gDirUtilp->deleteFilesInDir(gDirUtilp->getExpandedFilename(LL_PATH_CACHE, ""), "*");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment