网络模块关闭修改
parent
5bc49f2ad8
commit
db90677dcd
|
|
@ -137,8 +137,8 @@ public class NettyGameServer extends AbstractServer {
|
||||||
LOGGER.error("close NettyChannel exception" + var2);
|
LOGGER.error("close NettyChannel exception" + var2);
|
||||||
}
|
}
|
||||||
|
|
||||||
bossGroup.shutdownGracefully().sync();
|
bossGroup.shutdownGracefully();
|
||||||
workerGroup.shutdownGracefully().sync();
|
workerGroup.shutdownGracefully();
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOGGER.error("close exception", getLocalAddress());
|
LOGGER.error("close exception", getLocalAddress());
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue