Hi,
I'm using cef3 trunk version in offscreen render mode and I am having trouble closing and opening browser instances. My offscreen rendering is not attached to any HWND handle, I just use the whole thing to upload the contents to an OGL texture. I tried all sort of things:
offscreenClient->GetBrowser()->GetHost()->CloseBrowser()
and/or
offscreenClient->GetBrowser()->Release()
and/or
offscreenClient->Release()
Where offscreenClient inherits:
CefClient,
CefContextMenuHandler,
CefDisplayHandler,
CefDownloadHandler,
CefGeolocationHandler,
CefKeyboardHandler,
CefLifeSpanHandler,
CefLoadHandler,
CefRenderHandler,
CefRequestHandler
without success. Somewhere in the system the instance is still registered calling e.g. GetViewportSize. Eventually the whole thing crashes. Is there some reliable way to destroy a Browser instance?
Thanks,
Paul