Re: Full CEF based MFC SDI Browser
Posted: Wed Jan 06, 2016 4:43 pm
For the CEF-MFC sample applicaotion adding "CefDoMessageLoopWork" just before "CefShutdown" on line 217 will prevent the error when exiting the application.
--Scott
- Code: Select all
// shutdown CEF
if( m_bCEFInitialized )
{
// closing stop work loop
m_bCEFInitialized = FALSE;
// release CEF app
m_cefApp = NULL;
// shutdown CEF
CefDoMessageLoopWork();
CefShutdown();
}
--Scott