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(() -> { CompletableFuture.runAsync(() -> {
// 消息 事件接收
new Thread(() -> {
if (!initSocket(0)) { if (!initSocket(0)) {
return; return;
} }
// 消息 事件接收
new Thread(() -> {
while (true) { while (true) {
try { try {
String readLine = reader.readLine(); String readLine = reader.readLine();