Rank: Newbie Groups: Member
Joined: 8/4/2018 Posts: 1
|
Hi.
I am using 'EO.WebBrowser for .NET'. When I shut down the Windows OS, I can find the following message. I think that you should add exception handling for 'EO.WebBrowser for .NET'.
Thanks,
System.Exception: This WebView either has already been destroyed or is being destroyed.
: EO.Base.Runtime.a(Object A_0, Exception A_1, Boolean A_2) : EO.WebBrowser.WebView.s() : EO.WebBrowser.WebView.a(String A_0, Boolean A_1) : EO.WebBrowser.WebView.set_Url(String value) : CodeJBrownie.Brownie.Stop(Boolean isShowBlank) : AIScreen.Forms.frmMain.a(Object A_0, BrownieCloseType A_1) : CodeJBrownie.Brownie.a(Object A_0, FormClosedEventArgs A_1) : System.Windows.Forms.Form.OnFormClosed(FormClosedEventArgs e) : System.Windows.Forms.Form.WmClose(Message& m) : System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,258
|
Hi,
This is an exception caused by your code. You should not set the WebView's Url after the WebView has already been destroyed (which happened after the form has been closed).
Thanks
|