refactor(statemachine): 🔇 remove debug

code
master
jay 3 years ago
parent e2ae7e5ad2
commit 6e1ef5aada
  1. 3
      lib/plugins/statemachine.js

@ -262,9 +262,6 @@ function runSM(name = getSM(undefined, undefined, true), player // or supervisor
cfg.statemachine.running[machine.id] = service;
cfg.statemachine.recent = machine;
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 service;
}

Loading…
Cancel
Save