-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The IActorRef of a child dies or restarts could not be retrieve by mailbox.Sender() in parent #6272
Comments
According to fault-tolerance
|
Workaround: derive the SupervisorStrategy class and put the error handler inside it...
|
It seems like we can override the method to send the IActorRef back to parent's mailbox... |
========================================
Version of Akka.NET? 1.5.0-Alpha
Which Akka.NET Modules? Akka or Akka.FSharp
The IActorRef of a child dies or restarts could not be retrieve by mailbox.Sender() in parent
========================================
Reproduce
Example Code File Location
=> See "Notice this sender()"
Expected behavior
The parentMailbox.Sender() should give us the IActorRef of child
Actual behavior
The parentMailbox.Sender() is null
Environment
Windows Server 2019 + .NET 7.0
The text was updated successfully, but these errors were encountered: