mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update
This commit is contained in:
@@ -66,7 +66,7 @@ public class NettyServer implements CommandLineRunner {
|
||||
}
|
||||
|
||||
// 关闭channel和块,直到它被关闭 (若取消注释,则 MQTT 服务器无法启动)
|
||||
// future.channel().closeFuture().sync();
|
||||
future.channel().closeFuture().sync();
|
||||
} catch (Exception e) {
|
||||
log.error("NettyServer.start error", e);
|
||||
bossGroup.shutdownGracefully();
|
||||
|
||||
Reference in New Issue
Block a user