We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A finite state machine implemented using mruby-fsm with a single state in an infinite loop crashes after a random number of cycles.
fsm = FSM::Machine.new(:counter) fsm.params.counter = 0 loop_state = FSM::State.new("loop") loop_state.in_loop do fsm.params.counter += 1 puts "fsm.params.counter += 1 => #{fsm.params.counter}" end loop_state.timing = 0.010 fsm.add(loop_state) fsm.run "loop"
trace: [0] test.rb:12 test.rb:12: cannot set instance variable (ArgumentError)
or
trace: [0] test.rb:12 test.rb:12: non float value (TypeError)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
bug
A finite state machine implemented using mruby-fsm with a single state in an infinite loop crashes after a random number of cycles.
how to reproduce
or
The text was updated successfully, but these errors were encountered: