in the application I'm working on there is a need to save memory whenever no embedded browsers are needed. To be able to unload cef dlls easily I have created a DLL with C exports and FreeLibrary() it after calling CefShutdown() through it. Sadly it seems this isn't currently supported in CEF. If you do something like:
- Code: Select all
CefInitialize(false, std::wstring());
CefShutdown();
CefInitialize(false, std::wstring());
in the cefclient test application, it will stop as early as libicu initialization.
In my case the initialization dies in message_pump_win.cc/MessagePumpForUI::InitMessageWnd() (window creation fails). I also noticed that when I call CefShutdown(), the destructor of MessagePumpForUI is never called. Any chance this could be fixed / supported anytime soon ?
Using cef @ rev 64 with a matching chromium checkout.
Regards,
Jacek