We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cf0112 commit 490482bCopy full SHA for 490482b
docs/zh/10_MQ/02.md
@@ -167,7 +167,7 @@ public class EmqxClientConfig {
167
client.subscribe(topic, qos);
168
log.info("Subscribed to topic: " + topic);
169
170
- TioBootServer.addDestroyMethod(() -> {
+ TioBootServer.me().addDestroyMethod(() -> {
171
try {
172
client.disconnect();
173
log.info("Disconnected");
0 commit comments