squirrel icon indicating copy to clipboard operation
squirrel copied to clipboard

For initialState and currentState

Open wusandi opened this issue 8 years ago • 3 comments

As far, when a new Fsm has been created, its initialState is just initialState, but the currentState is null, then I need to check Both initialState and currentState for Fsm state. Why its currentState is not the same as initialState when a fsm initiates? What purpose does this do for? Thanks.

wusandi avatar Jan 10 '17 06:01 wusandi

I hit this issue today as well, would be nice to initialize currentState to the initialState.

winder avatar Sep 14 '17 01:09 winder

hit this issue today, anyone knows how to fix it?

yueban avatar Feb 12 '20 02:02 yueban

hit this issue today, anyone knows how to fix it?

fengjianche avatar Aug 09 '22 09:08 fengjianche