How to clear the cache of a WebBrowser Widget

Although I think deleting the directory programmatically is a good idea. I have found that calling either IPlatformFile::DeleteDirectory or IPlatformFile::DeleteDirectoryRecursively fails on the webcache folder because the game/application uses files in the directory while it’s running.