Don't await the write of shutdownSignal to openChannels when shutting netty, see #2535
* The multi node tests triggered shutdown ordering issue * Not necessary to awaitUninterruptibly for the shutdownSignal to openChannels
This commit is contained in:
parent
4e4acef959
commit
4c9d1760a1
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ private[akka] class NettyRemoteServer(val netty: NettyRemoteTransport) {
|
|||
b.setCookie(settings.SecureCookie.get)
|
||||
b.build
|
||||
}
|
||||
openChannels.write(netty.createControlEnvelope(shutdownSignal)).awaitUninterruptibly
|
||||
openChannels.write(netty.createControlEnvelope(shutdownSignal))
|
||||
openChannels.disconnect
|
||||
openChannels.close.awaitUninterruptibly
|
||||
bootstrap.releaseExternalResources()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue