MqttTransportService NioEventLoopGroup shutdown order error

This commit is contained in:
liuyuan 2018-05-17 18:27:26 +08:00
parent 15f53ee899
commit 96a77fc2ea

View File

@ -119,8 +119,8 @@ public class MqttTransportService {
try {
serverChannel.close().sync();
} finally {
bossGroup.shutdownGracefully();
workerGroup.shutdownGracefully();
bossGroup.shutdownGracefully();
}
log.info("MQTT transport stopped!");
}