Deleting the RootCache directory after Cef.Shutdown doesn't work with the Chrome Bootstrap #4852
Closed
1 task done
Labels
upstream
These issues require fixing in the Chromium Embedded Framework(CEF) or Chromium.
Is there an existing issue for this?
CefSharp Version
126.2.70
Operating System
Windows 11
Architecture
x64
.Net Version
.Net 4.8
Implementation
WinForms
Reproduction Steps
Checkout my example: https://github.com/Mik4sa/CefSharp.MinimalExample
I took the current MinimalExample, upgraded it to the latest version 126.2.70 and made a small change which reflects our situation: Com-In-GmbH-Co-KG-Consulting-Solutions/CefSharp.MinimalExample@28c9693
Expected behavior
Calling Cef.Shutdown should release all resources / handles so that deleting the RootCache directory works.
Actual behavior
After calling Cef.Shutdown some handles are still kept (for example to the debug.log file). The RootCache directory can't be deleted.
Regression?
This worked in the previous version 125.0.210. Also this works when changing back to
Alloy Bootstrap
Known Workarounds
This works when changing back to
Alloy Bootstrap
Does this problem also occur in the CEF Sample Application
Not Tested
Other information
In our application we want to delete the custom configured RootCache directory. Doing so worked until 126.2.70. With this version and the
Chrome Bootstrap
this is no longer possible. The reason is that there are still some handles to some files in that directory. For example the debug.log file. So the whole directory can't be deleted. I also noticed that way more files are written as before. Is this expected? Or is this maybe already the underlaying reason?With
Alloy Bootstrap
:With
Chrome Bootstrap
:The text was updated successfully, but these errors were encountered: