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
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,217
|
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.
|
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.
|