Merge pull request #792 from GreatGarlic/master

MqttTransportService NioEventLoopGroup shutdown order error
This commit is contained in:
Andrew Shvayka 2018-05-20 22:41:24 +03:00 committed by GitHub
commit 6cf7b35b86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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