网络模块关闭修改

back_recharge
zhangshanxue 2019-12-17 11:30:33 +08:00
parent 5bc49f2ad8
commit db90677dcd
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ public class NettyGameServer extends AbstractServer {
LOGGER.error("close NettyChannel exception" + var2);
}
bossGroup.shutdownGracefully().sync();
workerGroup.shutdownGracefully().sync();
bossGroup.shutdownGracefully();
workerGroup.shutdownGracefully();
} catch (Exception e) {
LOGGER.error("close exception", getLocalAddress());