Fixes by Roland:
- exhaustive matches in AkkaProtocolTransport - handling of Terminated in flushing state in Remoting - various fixes of warnings
This commit is contained in:
parent
4dcb38c758
commit
37877fa3ed
5 changed files with 12 additions and 15 deletions
|
|
@ -169,7 +169,7 @@ private[remote] class Remoting(_system: ExtendedActorSystem, _provider: RemoteAc
|
|||
stopped map { _ ⇒ () } // RARP needs only type Unit, not a boolean
|
||||
case None ⇒
|
||||
log.warning("Remoting is not running. Ignoring shutdown attempt.")
|
||||
Future successful ()
|
||||
Future successful (())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -463,6 +463,7 @@ private[remote] class EndpointManager(conf: Config, log: LoggingAdapter) extends
|
|||
def flushing: Receive = {
|
||||
case s: Send ⇒ forwardToDeadLetters(s)
|
||||
case InboundAssociation(h) ⇒ h.disassociate()
|
||||
case Terminated(_) ⇒ // why should we care now?
|
||||
}
|
||||
|
||||
private def forwardToDeadLetters(s: Send): Unit = {
|
||||
|
|
@ -551,4 +552,4 @@ private[remote] class EndpointManager(conf: Config, log: LoggingAdapter) extends
|
|||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue