Menu

#147 run(msg, port) doesn't work for delay(0) from init state

v1.4-beta
open
5
2012-04-27
2012-04-27
No

if a delay(0) transition is the only transition defined on the initial state of a machine, and the delay(0) implementation causes a timeout message to be put onto the transition's timer port queue, then invoking TransitionMachine.run(msg, port) will return immediately without firing the delay(0) transition

this problem is due to a flaw in the logic of the run(msg, port) method

Discussion


Log in to post a comment.