Merge pull request #18380 from ktoso/port-fsm-fix-ktoso

=act #18364 fix AbstractFSM#onTransition infinite recursion
This commit is contained in:
Konrad Malawski 2015-09-01 15:02:32 +02:00
commit 8e7abdc511

View file

@ -112,7 +112,7 @@ abstract class AbstractFSM[S, D] extends FSM[S, D] {
* called, not only the first one matching.</b>
*/
final def onTransition(transitionHandler: UnitApply2[S, S]): Unit =
onTransition(transitionHandler)
onTransition(transitionHandler(_: S, _: S))
/**
* Set handler which is called upon reception of unhandled messages. Calling