Skip to content

Commit 490482b

Browse files
author
litongjava
committed
add .me()
1 parent 8cf0112 commit 490482b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/zh/10_MQ/02.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ public class EmqxClientConfig {
167167
client.subscribe(topic, qos);
168168
log.info("Subscribed to topic: " + topic);
169169

170-
TioBootServer.addDestroyMethod(() -> {
170+
TioBootServer.me().addDestroyMethod(() -> {
171171
try {
172172
client.disconnect();
173173
log.info("Disconnected");

0 commit comments

Comments
 (0)