Making sure that RemoteActorRef.start cannot revive a RemoteActorRefs current status
This commit is contained in:
parent
5e94ca6fc5
commit
ba6a250fef
1 changed files with 2 additions and 1 deletions
|
|
@ -988,7 +988,8 @@ private[akka] case class RemoteActorRef private[akka] (
|
|||
}
|
||||
|
||||
def start(): this.type = synchronized[this.type] {
|
||||
_status = ActorRefInternals.RUNNING
|
||||
if (_status == ActorRefInternals.UNSTARTED)
|
||||
_status = ActorRefInternals.RUNNING
|
||||
this
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue