siweilvxing / cefpython

Automatically exported from code.google.com/p/cefpython
0 stars 0 forks source link

Debug flag not set in C++ code for the Browser process #98

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In cefpython_app.cpp the g_debug variable is set only for the Render process in 
CefPythonApp::OnRenderThreadCreated(). This flag also needs to be set when 
CefPythonApp class is instantiated in the Browser process.

Original issue reported on code.google.com by czarek.t...@gmail.com on 18 Dec 2013 at 1:42

GoogleCodeExporter commented 8 years ago
When g_debug is set in the browser proces, it won't be required to call 
BrowserProcessHandler_OnRenderProcessThreadCreated(). It's better get rid of 
this call as it might cause a deadlock 
(CefBrowserProcessHandler::OnRenderProcessThreadCreated called on the IO 
thread, then it calls Python on the UI thread). Deadlock issue reported by 
Michael Goffioul when porting CEF to Linux/Aura.

Original comment by czarek.t...@gmail.com on 8 Jan 2014 at 9:40

GoogleCodeExporter commented 8 years ago
Fixed in revision fd0ed30fb387.

Original comment by czarek.t...@gmail.com on 15 Jan 2014 at 9:39

GoogleCodeExporter commented 8 years ago
Project will move to Github. Find this issue at the new address (soon): 
https://github.com/cztomczak/cefpython/issues/98

Original comment by czarek.t...@gmail.com on 24 Aug 2015 at 6:35