Hi there,
I’m trying out CEF in an existing application with its own message loop. Everything appeared to work correctly at first, but on closer inspection, render threads were terminating in the background, making webpages nonresponsive and some webpages not load at all.
I’m listening to crashes using CefRequestHandler::OnRenderProcessTerminated which reports crashes with the status “TS_PROCESS_CRASHED”. I’m also listening to any exceptions with CefRenderHandler::OnUncaughtException, however this doesn’t fire at anytime in the execution.
A few notes on my implementation:
I have a class ChromiumClient which inherits from CefApp and CefBrowserProcessHandler. This handles the communication between the main application and CEF.
ChromiumClient uses a ChromiumHandler class which deals with all the callbacks from cef (inherits from CefClient, CefLifeSpanHandler, CefRenderHandler, CefLoadHandler, CefRequestHandler, CefDisplayHandler, CefRenderPrrocessHandler).
Would anyone have any suggestions on where I could go from here?
Thanks,