Skip to content

on_exit() is being called when switching from a superstate to one substate #2

@TSMotter

Description

@TSMotter
  • Currently, on_exit() is called when switching from a superstate to one substate.

  • Example:

    • When going from Heating to Toasting, Heating on_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()

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions