I've finished building the cef embeded application, which works as a separate process beside the main application. (used CefGlue)
All if fine except I can not properly close it.
So the overall I have the following sequence:
1. Create new cefEmbeded process with 2 subprocesses for browser and renderer.
2. Load page here
3. Interact with the page and close the application.
Also a thing worth mentionin i think - I am not using the CefRunMessageLoop() - only calling these:
- Code: Select all
CefBrowserHost.CreateBrowser(windowInfo, client, settings, "http://www.fastStart.eu", CefRequestContext.GetGlobalContext());
// and then calling several page loads as follows
client.GetBrowser().GetMainFrame().LoadUrl("http://www.fastStart.eu/AccountStartup");
This is all I want to get for the moment and the page loads work just fine. The problem is that the process does not get closed after I call CefRuntime.ShutDown();
I've read the documentation of CEF more than once, but still could not find a proper closing guide. There must be something missing in beneath the bones of cef, which I am definitely missing.
Thansk in advance!