You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, on_exit() is called when switching from a superstate to one substate.
Example:
When going from Heating to Toasting, Heatingon_exit() is executed even though Toasting is within Heating. This promotes some non wanted behavior like: Going from Heating to Toasting would turn off the heater because of Heating.on_exit()