Fix FSM getting stuck into "*" state #64

merged 3 commits into from Nov 19, 2016


None yet

2 participants


With double WILDCARD events, e.g. { name: 'myevent', from: '*' } the state machine ends up in the state '*'.
This pull request fixes it : the FSM now stays in the same state.

Double WILDCARD events may be useful if an event can be triggered at any moment while only triggering a transition from some states.


Can you add a test for this case please?


Any feedback on this issue?

@jakesgordon jakesgordon added the v2.4 label Nov 18, 2016
@jakesgordon jakesgordon merged commit ffec3f4 into jakesgordon:master Nov 19, 2016
@jakesgordon jakesgordon added a commit that referenced this pull request Nov 19, 2016
@jakesgordon added issue #64 to release notes 7ed79fc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment