Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problems with multiple CefSharp3 instances #283

Closed
ray007 opened this issue Mar 20, 2014 · 6 comments
Closed

problems with multiple CefSharp3 instances #283

ray007 opened this issue Mar 20, 2014 · 6 comments

Comments

@ray007
Copy link

ray007 commented Mar 20, 2014

I'm building an application with CefSharp3 that currently still resembles the Wpf-example quite a lot.
Starting it up once works fine, getting a second instance running gets me an error dialog shortly after starting: CefSharp.BrowserSubprocess has stopped working.
Trying to start CefSharp.Wpf.Example which me application is running gets the same result. Same with trying to start CefSharp.Wpf.Example twice in parallel ...

All this happening with VS 2010 and .NET4.

Any ideas? Should I try to go with CefSharp1 for now?

@perlun
Copy link
Member

perlun commented Mar 20, 2014

Try the latest code on master (not the latest NuGet package, it's a bit old by now). Does it still not work?

And no, please don't use CefSharp1 if you don't must. 😃

@ray007
Copy link
Author

ray007 commented Mar 20, 2014

Yep, working from master things look better, thank you.

I didn't intend to use CefSharp1, but it seems I might miss CefSharp.Wpf.WebView:RegisterJsObject(...) and friends...

@jornh
Copy link
Contributor

jornh commented Mar 20, 2014

That's a nice confirmation to get in for the recent #212 related changes done by JanEggers!

You are right CefSharp3 isn't feature-wise a 1-to-1 with CefSharp1 yet, and if you really need #159 that is still a good reason to stay on version 1. But for now I guess focus is on making sure what is there is as stable as possible, then next as easy to consume as possible. I hope that is somewhat in line with what @perlun is thinking, and what people are generally here for - otherwise please enlighten me 😄

More related to the reported issue with CefSharp.BrowserSubprocess has stopped working though; I have actually also seen crashes and some times freezes. A place where it's easiest for me to provoke it is -- oddly enough -- to navigate to GitHub e.g. https://github.com/cefsharp/CefSharp/issues (from the bottom of the CefSharp.Wpf|Winforms.Example home page). I think it would be good if others could either confirm or reject seeing that behavior. It's entirely possible it's only a local issue here at me ...

I have kept a few WER reports, which I can share if they are of any use? What else would be of value to collect when a crash/freeze is seen?

@perlun
Copy link
Member

perlun commented Mar 20, 2014

Good to get it confirmed, closing. @jornh, I suggest you file a separate issue about that problem and enter the details there.

@perlun perlun closed this as completed Mar 20, 2014
@ray007
Copy link
Author

ray007 commented Mar 21, 2014

Too bad, CefSharp.Cef.RegisterJsObject() pretends to work but doesn't...

@perlun
Copy link
Member

perlun commented Mar 22, 2014

You're right. We should remove that method until it gets fixed, it's just confusing right now. (It's quite a bit of complexity getting it working, so that's why it's not there yet)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants