This commit is contained in:
绝尘 2024-05-09 22:55:55 +08:00
parent 0ab33845f0
commit 79402950be

View File

@ -75,12 +75,11 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
}
CompletableFuture.runAsync(() -> {
if (!initSocket(0)) {
return;
}
// 消息 事件接收
new Thread(() -> {
if (!initSocket(0)) {
return;
}
while (true) {
try {
String readLine = reader.readLine();