-
-
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
Unhandled "Cannot access a disposed object" exceptions occurs randomly #1494
Comments
What other information can you provide? What does your code look like? Anything you might be doing slightly out of the ordinary? Ideally we need a way to reproduce the problem. Do you use |
Yes, I'm using
And XAML:
|
Does |
No, the |
Well somehow your disposing of the https://github.com/cefsharp/CefSharp/blob/cefsharp/45/CefSharp.Core/ManagedCefBrowserAdapter.h#L103 |
Added a simple try/catch around the If you can reproduce with that change then this can be reopened. (Ideally investigate further and submit a |
I'm using CefSharp (v45.0.0) in WPF app (WPF Chromium control) and my app sometimes crashes with an exception "Cannot access a disposed object". It happens during creating (opening) a new WPF window with the Chromium control.
The text was updated successfully, but these errors were encountered: