Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

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

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

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

Post 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.
Post Reply