Please customize CefSettings.root_cache_path

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Please customize CefSettings.root_cache_path

Postby rado » Wed Feb 28, 2024 11:25 am

I've upgraded cef to version 120 and it started crashing in CefInitialize when multiple application instances are run (Win32). (Main thread is waiting for UI thread to finish while ui thread crashes calling some callback with null address)
In the log there is message "Please customize CefSettings.root_cache_path for your application.".
I've found this issue https://github.com/cefsharp/CefSharp/issues/4668 but it is unclear to me. Does it mean the in-memory cache the "incognito mode" is not supported anymore? Or what would be the reason of collision if in memory cache is used? (I'm not setting any cache* value in settings)
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am

Re: Please customize CefSettings.root_cache_path

Postby magreenblatt » Wed Feb 28, 2024 11:54 am

See CefSettings.root_cache_path documentation.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Please customize CefSettings.root_cache_path

Postby rado » Wed Feb 28, 2024 1:36 pm

Thank you, I was checking older docs, so it seems the memory cache was discontinued s I guess I need to implement temporary folders and their deletion at exit :(
rado
Expert
 
Posts: 145
Joined: Wed Oct 05, 2011 3:32 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 217 guests