
15 Mar
2011
15 Mar
'11
10:29 a.m.
Now I got it working, but I'm a bit confused regarding the error. I can not see that I was in the destructor of the FSM, just the active state.
You were getting that crash while exiting from main(), i.e. the state destructor were called as a part of FSM destruction (in the call stack you could see the FSM destructor).