fix bug in FSM when manually rescheduling non-recurring timer, see #2043

This commit is contained in:
Roland 2012-05-04 22:30:00 +02:00
parent 5cf0fa66f8
commit 0314b9abbb

View file

@ -443,10 +443,10 @@ trait FSM[S, D] extends Listeners {
timeoutFuture = None
}
generation += 1
processMsg(msg, t)
if (!repeat) {
timers -= name
}
processMsg(msg, t)
}
case SubscribeTransitionCallBack(actorRef)
// TODO use DeathWatch to clean up list