Welcome Guest Search | Active Topics | Sign In | Register

When I shut down the Windows OS, I can find the following message. Options
Brownie
Posted: Monday, August 27, 2018 12:04:58 AM
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)

eo_support
Posted: Monday, August 27, 2018 6:54:52 AM
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


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.