-
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
[WIP]: resolve ThrottlerTransportAdapter
NRE
#7565
base: dev
Are you sure you want to change the base?
[WIP]: resolve ThrottlerTransportAdapter
NRE
#7565
Conversation
This change is going to involve updating some |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Commented on some safety fixes around Nobody
@@ -1409,15 +1409,10 @@ namespace Akka.Actor | |||
} | |||
public sealed class Nobody : Akka.Actor.MinimalActorRef | |||
{ | |||
public static Akka.Actor.Nobody Instance; | |||
public static readonly Akka.Actor.Nobody Instance; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never should have been mutable
public override Akka.Actor.ActorPath Path { get; } | ||
public override Akka.Actor.IActorRefProvider Provider { get; } | ||
public override Akka.Util.ISurrogate ToSurrogate(Akka.Actor.ActorSystem system) { } | ||
public class NobodySurrogate : Akka.Util.ISurrogate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Never needed to be part of the public API - just the ISurrogate
interface is enough.
Changes
Fixes #7564
Checklist
For significant changes, please ensure that the following have been completed (delete if not relevant):