fix bug in FSM when manually rescheduling non-recurring timer, see #2043
This commit is contained in:
parent
5cf0fa66f8
commit
0314b9abbb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue