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:
Patrik Nordwall 2012-09-24 13:15:58 +02:00
parent 4e4acef959
commit 4c9d1760a1

View file

@ -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()