Page 1 of 1

Re: Libcef.dll will not "unload" after use in a DLL

Posted: Tue Feb 26, 2019 8:25 pm
by salvadordf
Hi,

CEF3 can only be initialized once per process. It's a CEF3 feature and there's no workaround.

If you need to use it in a DLL then you need to initialize CEF3 before creating any browser and finalize it only after all the browsers have been closed correctly.

If your DLL is loaded and unloaded several times while the main application is running then you can only use the DLL to run another application with a CEF3 browser and communicate with that browser using IPC.