=act #18364 fix AbstractFSM#onTransition infinite recursion

This commit is contained in:
Ankush Khanna 2015-08-31 14:18:37 +02:00 committed by Konrad Malawski
parent 9d3eea3287
commit 6c036ea8a7

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