OutSystems / WebView

Avalonia/WPF control that wraps CefGlue webview control
Apache License 2.0
391 stars 43 forks source link

How to gracefully close the webview? #353

Closed a6754z closed 2 months ago

a6754z commented 2 months ago

Hi,

I have an appliation with multiple documents. Each document contains a WebView control configured with different addresses. But on Kylin V10 (based on Ubuntu 20.04), the application will crash when closing one document, no matter whether the WebView.Dispose() is called or not in document OnClosed method.

I'm wondering if this is a bug for the control, or any other way to close the WebView gracefully?

Thanks.

joaompneves commented 2 months ago

Hi, Do you have logs?

a6754z commented 2 months ago

cef.log

Attached is the log. I just opened a document and then closed it.

joaompneves commented 2 months ago

I don't see any errors in the log.

joaompneves commented 2 months ago

Since the webview is a wrapper of CefGlue, and the issue would be likely there, I would recommend that you test in CefGlue and post the issue here: https://github.com/OutSystems/CefGlue/issues