Replies: 2 comments 5 replies
-
There is an example here: https://github.com/cefsharp/CefSharp/wiki/Creating-user-tabs-or-popup-windows-in-Winforms |
Beta Was this translation helpful? Give feedback.
-
What does your code look like (no images of code)? It's impossible to say what's actually happening without an example.
How did you come to that conclusion exactly? The call is invoked on the You'll need to provide a detailed example. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am implementing a tab host control for the Popup window using LifeSpanHandler and facing the issue that the application is shut down every time the popup close (window.close()).
The root cause may come from DoClose() method since onPopupDestroyed?.Invoke(control, browser) call is run in a separate thread hence the control.dispose() happen before the containing form could remove the ChromiumHostControl.
https://github.com/cefsharp/CefSharp/blob/0c7bc3f9b68e6196b2f2e60a2326aa8dadb7dfa2/CefSharp.WinForms/Handler/LifeSpanHandler.cs
Beta Was this translation helpful? Give feedback.
All reactions