actor: ignore more messages while TcpConnection is shutting down
Otherwise, there will be noisy warnings in the log for messages that carry `DeadLetterSupression` like all the `CloseCommands`.
This commit is contained in:
parent
e55ac350c3
commit
21adbcfa34
1 changed files with 1 additions and 0 deletions
|
|
@ -199,6 +199,7 @@ private[io] abstract class TcpConnection(val tcp: TcpExt, val channel: SocketCha
|
||||||
def unregistering: Receive = {
|
def unregistering: Receive = {
|
||||||
case Unregistered => context.stop(self) // postStop will notify interested parties
|
case Unregistered => context.stop(self) // postStop will notify interested parties
|
||||||
case ChannelReadable | ChannelWritable | ChannelAcceptable | ChannelConnectable => // ignore, we are going away soon anyway
|
case ChannelReadable | ChannelWritable | ChannelAcceptable | ChannelConnectable => // ignore, we are going away soon anyway
|
||||||
|
case _: DeadLetterSuppression => // ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
// AUXILIARIES and IMPLEMENTATION
|
// AUXILIARIES and IMPLEMENTATION
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue