GC FSM v1.7: Submachine States with History
Another “new feature” release in less than a month! Version 1.7 introduces the possibility to have Submachine States remember their history when exited, so that the next time they are re-entered they will start from where they were interrupted instead of re-starting from scratch! If you know what a Deep History Pseudo-state is in UML, well… that’s basically the same! The feature exploits internally the FSM snapshots that were introduced in v1.6. I have updated the Submachine State documentation page with info about the new feature.
A minor bugfix also: now if, while restoring a snapshot, a running FSM is already in the right state, that state is not exited and re-entered.
And don’t forget to have a look at the updated example project!