-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
CEF.Shutdown gives unexpected result: debug assertion or infinite lock! #2
Comments
at a guess this is because of ref counting, because the managed objects still hold references to CEF ref counted objects. Calling CEF.Shutdown before those managed objects are garbage collected leads to this error. Do you still get the error if you release all objects and calling System.GC.Collect(); and System.GC.RunFinalizers(); before Shutdown? A release build of libcef_dll_wrapper might fix this as the assertions probably wouldn't run. |
Thanks! Yes, it solves problem, CEF.Shutdown no more locks, but now i got unhandled exception: It looks, as my fault. Now i need some refactoring in my code, 'cause my browser-wrapper instantiated in app form, - may be better do Init/Finit outside Form. |
I rewrite some pieces of code, no locks occured, but assertion is fired... |
I do internal refactoring in my app - problem not resolved:
Same result i give on CefTest app, after modifying Program.cs:
|
Sorry my mistake - two assertions:
I call BrowserControl.Dispose directly and this assertion any way happens. |
Hello, |
Hello. |
Undo VS2010/VS2012 project split and use conditional elements when neede...
(ignore that comment, it refers to a pull request numbering in the perlun fork...) |
Now call to CEF.Shutdown gives unexpected result: debug assertion or infinite lock.
Not usable at this moment...
I think, it is CEF-related, not CefSharp-related bug.
The text was updated successfully, but these errors were encountered: