refactor(statemachine): 🔇 remove debug
code
This commit is contained in:
parent
e2ae7e5ad2
commit
6e1ef5aada
|
@ -262,9 +262,6 @@ function runSM(name = getSM(undefined, undefined, true), player // or supervisor
|
||||||
cfg.statemachine.running[machine.id] = service;
|
cfg.statemachine.running[machine.id] = service;
|
||||||
cfg.statemachine.recent = machine;
|
cfg.statemachine.recent = machine;
|
||||||
service.start();
|
service.start();
|
||||||
// // TODO check if idle state is different (maybe?)
|
|
||||||
console.log("sm run", service.state.value === machine.initialState.value, service.state);
|
|
||||||
console.log("sm run", service.state !== machine.initialState, machine.initialState);
|
|
||||||
// return machine
|
// return machine
|
||||||
return service;
|
return service;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user