Hi,
I use for cache_path following directory:
...\AppData\Roaming\innovaphone\myApps\chromium\cache
after calling CefShutdown() I tried to delete all files inside following cache directory ...\AppData\Roaming\innovaphone\myApps\chromium\cache\Cache
data_0
data_1
data_2
data_3
index
but Windows DeleteFile function returns ERROR_ACCESS_DENIED. Sometimes I also see ERROR_SHARING_VIOLATION (being used by another process)
Only after my app is completely closed I can delete the files in Windows Explorer.
Am I missing something closing CEF?
Best regards,
Sergio
CefRefPtr<ClientApp> client = new ClientApp();
CefInitialize(mainArgs, cefSettings, client, NULL);
// Run the CEF message loop. This will block until CefQuitMessageLoop() is called.
CefRunMessageLoop();
// Shut down CEF.
CefShutdown();
// Delete Cache Path Directory