Fix regression which was introduced by 89a7cb8e71

Related to [#2060]
This commit is contained in:
Norman Maurer 2013-12-21 21:39:51 +01:00
parent bab227213e
commit fc2e6916d9

View File

@ -252,7 +252,9 @@ public final class ServerBootstrap extends AbstractBootstrap<ServerBootstrap, Se
childGroup.register(child).addListener(new ChannelFutureListener() {
@Override
public void operationComplete(ChannelFuture future) throws Exception {
forceClose(child, future.cause());
if (!future.isSuccess()) {
forceClose(child, future.cause());
}
}
});
} catch (Throwable t) {