state machine bugfix [StackOverflowError]

This commit is contained in:
etreschenkov 2025-05-30 18:40:03 +03:00
parent 02038847f2
commit 7941e3cbba

View file

@ -15,7 +15,7 @@ public class StateMachineUtil {
public static String getId(StateContext<?, ?> machine) {
StateMachine<?, ?> stateMachine = machine.getStateMachine();
if (stateMachine == null) return "[unknown SM]";
return getId(machine);
return getId(stateMachine);
}
public static <S, A> Action<S, A> chain(Action<S, A> a, Action<S, A> b) {