-
-
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
CefSharp.WinForms.Example.netcore crashes when popup window #4656
Comments
This should really be fixed |
What is the call stack for the exception? |
Since Dispose is called in DoClose, shouldn't it be fixed on the CefSharp side, not on the cef side? The call stack for the exception is as follows:
|
For me that's just hacking around the issue. Calling The If the CEF maintainer deems this as won't fix, then we can look at working around the issue. |
Is there an existing issue for this?
CefSharp Version
120.1.80
Operating System
Windows 11
Architecture
x64
.Net Version
.Net 6.0
Implementation
WinForms
Reproduction Steps
Expected behavior
Expectations is that it will not crash when you close the popup window
Actual behavior
Regression?
No response
Known Workarounds
Is this due to DoClose in LifeSpanHandler.cs?
Excluding control.Dispose() from InnvokeSyncOnUiThreadIfRequired stops crashing.
Does this problem also occur in the CEF Sample Application
No
Other information
html source
edit source code
CefSharp.WinForms\Handler\LifeSpanhandler.cs
CefSharp.WinForms.Example\BrowserTabUserControl.cs
The text was updated successfully, but these errors were encountered: