Welcome Guest Search | Active Topics | Sign In | Register

webview win32 exception on exit Options
LandTrack Support
Posted: Thursday, November 1, 2018 11:03:25 PM
Rank: Newbie
Groups: Member

Joined: 7/3/2017
Posts: 8
We are getting some exceptions on exiting on some machines:

The main thread is executing Environment.Exit();

the thread that is breaking is a EO thread:

System.ComponentModel.Win32Exception
HResult=0x80004005
Message=Class still has open windows
Source=EO.Base
StackTrace:
> EO.Base.dll!EO.Internal.aqt.a(string A_0, bool A_1)
EO.Base.dll!EO.Internal.y.e.a()
EO.Base.dll!EO.Internal.xm.c.a()
EO.Base.dll!EO.Internal.xm.a(EO.Internal.xm.c[] A_0, EO.Internal.xm.a A_1)
EO.Base.dll!EO.Internal.xm.a()
EO.Base.dll!EO.Internal.xm.b.a(object A_0, System.EventArgs A_1)

I'm seeing it happen in visual studio, but it is coming up on another machine as a windows error report.

We have tried closing the webview, stopping the engine and closing the WPF window but it still occurs. I've also tried just waiting a few seconds after everything is 'closed', and it still happens.

Any suggestions?
eo_support
Posted: Friday, November 2, 2018 7:45:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,221
Hi,

This usually occurs when you have not destroyed all WebViews you created. When you destroy the WebView, make sure you destroy them in the same thread they are created.

If you have already done so and that does not resolve the problem, then you can try to isolate the problem into a test project and send the test project to us:

https://www.essentialobjects.com/forum/test_project.aspx

Once we have that we will be happy to investigate further.

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.