Version Information
Version of Akka.NET? dev
Which Akka.NET Modules? Akka.Persistence
Describe the bug
The timer in question is in this line:
|
var timeoutCancelable = Context.System.Scheduler.ScheduleTellRepeatedlyCancelable(timeout, timeout, Self, new RecoveryTick(false), Self); |
If the actor is forcefully killed while inside this state, it fails to call timeoutCancelable.Cancel() and will cause infinite RecoveryTick messages to be dead-lettered until the actor system is restarted.