mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Let's try and get #159 working. I had to comment out this part (which was also highly non-functional...) earlier because it caused stability problems, since CEF starts up more than 1 child process sometimes (which caused problems). I think we might have to distinguish between different process types here, which is why we start fiddling around with the arguments. Perhaps there are other, better ways to detect the current process type though.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
//CreateJavascriptProxyServiceHost();
|
||||
return ExecuteCefRenderProcess(hInstance);
|
||||
CefMainArgs main_args(hInstance);
|
||||
|
||||
CreateJavascriptProxyServiceHost();
|
||||
return ExecuteCefRenderProcess(main_args);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user