act: TcpConnection: ignore late signals from SelectionHandler while shutting down (#26996)
This commit is contained in:
parent
7bd0cc746f
commit
1bc9a5f388
1 changed files with 2 additions and 1 deletions
|
|
@ -197,7 +197,8 @@ private[io] abstract class TcpConnection(val tcp: TcpExt, val channel: SocketCha
|
|||
|
||||
/** stopWith sets this state while waiting for the SelectionHandler to execute the `cancelAndClose` thunk */
|
||||
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
|
||||
}
|
||||
|
||||
// AUXILIARIES and IMPLEMENTATION
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue