I am using CEF3/1180 with multi-process mode and the multi-threaded message loop.
Windows 7, Visual C++ 2010 Express
I am trying to modify the existing cefclient application so that it displays websites after one another / consecutively. At times, it might happen that the website runs an infinite JS loop like this:
- Code: Select all
for (;;) {}
This would obviously never finish loading. If I do
- Code: Select all
g_handler->GetBrowser()->GetMainFrame()->LoadURL("http://the-next-website-to-be-displayed.com");
Is there a way to programmatically and forcefully terminate the render processes? Similar to how even the render processes that are processing the infinite JS loops are terminated upon closing the cefclient main window. I know
- Code: Select all
g_handler->GetBrowser()->GetHost()->CloseBrowser()
I don't understand the framework too well yet, so any (detailed) help is greatly appreciated!
Kudos to Marshall and other contributors for a robust embedding framework!