Merge pull request #735 from akka/wip-2535-netty-shutdown-patriknw

Don't await the write of shutdownSignal to openChannels when shutting netty, see #2535
This commit is contained in:
Patrik Nordwall 2012-09-25 05:19:05 -07:00
commit 1ab4fd3ca9

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