We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acf1b0e commit d0cd1a6Copy full SHA for d0cd1a6
FSM/FiniteStateMachine.hh
@@ -686,7 +686,7 @@ namespace Core
686
throw Exception("Out of bounds state id number.");
687
}
688
689
- if ( state_table[current_state]->IsStoringForwarding() )
+ if ( current_state != SentinelStateID && state_table[current_state]->IsStoringForwarding() )
690
{
691
// Clear any stored events since this method essentially acts as
692
// a state machine reset function.
0 commit comments