Incorporate review feedback, see 2551
This commit is contained in:
parent
fd757fb680
commit
490d723f81
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ private[akka] class RemoteSystemDaemon(system: ActorSystemImpl, _path: ActorPath
|
|||
allChildren foreach system.stop
|
||||
|
||||
case AddressTerminated(address) ⇒
|
||||
allChildren filter { _.asInstanceOf[InternalActorRef].getParent.path.address == address } foreach system.stop
|
||||
allChildren foreach { case a: InternalActorRef if a.getParent.path.address == address ⇒ system.stop(a) }
|
||||
|
||||
case unknown ⇒ log.warning("Unknown message {} received by {}", unknown, this)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue