Fix regression which was introduced by 89a7cb8e710952e76a3a09b113fcb6ebe17acb12
Related to [#2060]
This commit is contained in:
parent
bab227213e
commit
fc2e6916d9
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user