Logo
My Account |  Site Map | Contact Us  
Welcome Guest Search | Active Topics | Sign In | Register

Web.Engine state remains as "Stopping" within Engine.Stopped Event handler Options
Mohamed
Posted: Wednesday, October 13, 2021 10:21:08 AM
Rank: Newbie
Groups: Member

Joined: 10/13/2021
Posts: 2
Hi,

We currently implemented the Engine.Stopped event and called the Engine.Stop() method.

The Engine_Stopped event handler method is then fired correctly but we noticed that the engine state always remains as "Stopping" within the event handler method.

The moment we come out of the Engine_Stopped method, the engine state changes to "Stopped".

Should the engine state not change to "Stopped" when it hits the Engine_Stopped method?

(As per the description from this documentation, the Engine.Stopped event "Occurs when the engine has been stopped.")

https://www.essentialobjects.com/doc/eo.webengine.engine.stopped.aspx


Thank you.

Using:-
EO.WebBrowser, EO.WebBrowser.Wpf, EO.WebEngine:
Runtime version = v2.0.50727
Version = 20.2.19.0
eo_support
Posted: Wednesday, October 13, 2021 2:41:30 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 23,072
Thanks for the feedback. It is this way in the current implementation. What you suggested does make sense. We will look into the code to see what we can do.
Mohamed
Posted: Thursday, October 14, 2021 5:38:46 AM
Rank: Newbie
Groups: Member

Joined: 10/13/2021
Posts: 2
Thanks for the swift reply.

Will await for feedback after your investigation.

Just as a suggestion, perhaps having 2 additional events, Stopping/Starting and Stopped/Running will allow developers more potential entries and easier handling of the different Engine states.

Thanks once again.


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.