Hello,
I have a CEF C++ application in Debian that launches with an external event and loads a web content that uses the browser local storage to read and write some data.
The problem comes when one instance of the application is running and other instance loads in the back and need to access this data, there are quite a few seconds where the browser content is black, the error I get is the next one:
[1027/122920.357660:WARNING:value_store_frontend.cc(44)] Reading mhjfbmdgcfjbbpaeojofohoefgiehjai.alarms from failed: IO error: .../LOCK: File currently in use. (ChromeMethodBFE: 15::LockFile::2)
When launching the app, I always set the cache directory to the same one for sharing data between the different processes and I always initialize CEF too.
Is there a way to share cache between processes without getting this concurrency error? Or maybe, checking if CEF is already initialized on the system in order to just launch a new window?
Thanks.