FATAL assertion in thread_restrictions.cc

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: FATAL assertion in thread_restrictions.cc

Postby magreenblatt » Thu Nov 20, 2014 6:13 pm

mjones219 wrote:But in addition to that, I think I initially had the app configured with the default MP mode and the CefRenderProcessHandler::OnContextCreated was not getting called

OnContextCreated is executed in the renderer process. You need to pass a CefApp instance to CefExecuteProcess and implement CefApp::GetRenderProcessHandler.
magreenblatt
Site Admin
 
Posts: 12406
Joined: Fri May 29, 2009 6:57 pm

Re: FATAL assertion in thread_restrictions.cc

Postby Czarek » Fri Nov 21, 2014 2:16 am

Itai Bar-Haim answered correctly to your question on stackoverflow. OnContextCreated runs in the renderer process and your debugger was attached only to the main browser process, thus your breakpoint didn't work.
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 33 guests