-
Notifications
You must be signed in to change notification settings - Fork 469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not all file handles are closed after Cef.Shutdown #3726
Comments
What are the files with open handles? See here for tools that will tell you. |
Are child processes still running after you call CefShutdown? |
OK. Some of these files (like |
But all child processes are closed. The one process marked in the second screenshot is the main process (CefSharp...exe) |
Right, but in case they're not closed immediately after CefShutdown returns (for you or someone else), it could still be an issue. |
This issue still exists in CefSharp.WinForms version 128.4.9. |
Describe the bug
I'm coming from CefSharp and was told to open an issue here. I hope this is fine.
This is the original issue: cefsharp/CefSharp#4852
I have set a custom RootCache path and want to delete that cache folder after Cef.Shutdown is called (during the application shutdown). But using the (new) Chrome Bootstrap some files still have open handles so the whole folder can't be deleted. Changing the runtime back to Alloy Bootstrap (in the same version) the folder can be deleted afterwards as expected.
Note: There is a big difference in what is written to that directory (not sure if this is a problem too).
This is what I get with Alloy Bootstrap:
and this is what I get with Chrome Bootstrap:
Expected behavior
All file handles should be cleared after Cef.Shutdown was successfully called.
Versions (please complete the following information):
Additional context
Not tested, but I don't think so since the folder isn't deleted afaik.
No
The text was updated successfully, but these errors were encountered: