Skip to content

Commit f1eba91

Browse files
authored
[CS0420] ActorCell Warning Disable (#6683)
* [CS0420] `ActorCell` Warning Disable * [fix] Removed the `Volatile.Read`
1 parent 4b19cd1 commit f1eba91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/Akka/Actor/ActorCell.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public ActorCell(ActorSystemImpl system, IInternalActorRef self, Props props, Me
9191
/// <summary>
9292
/// TBD
9393
/// </summary>
94-
public Mailbox Mailbox => Volatile.Read(ref _mailboxDoNotCallMeDirectly);
94+
public Mailbox Mailbox => _mailboxDoNotCallMeDirectly;
9595

9696
/// <summary>
9797
/// TBD

0 commit comments

Comments
 (0)