From b939036c8d651a0dae041f02a9f711b603e94fc1 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Mon, 13 Apr 2026 17:59:51 +0800 Subject: [PATCH] fx --- Tun/Punchnet/SDLUDPHole.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tun/Punchnet/SDLUDPHole.swift b/Tun/Punchnet/SDLUDPHole.swift index 58debb3..de88c71 100644 --- a/Tun/Punchnet/SDLUDPHole.swift +++ b/Tun/Punchnet/SDLUDPHole.swift @@ -98,7 +98,7 @@ final class SDLUDPHole: ChannelInboundHandler { // MARK: 处理写入逻辑 func send(type: SDLPacketType, data: Data, remoteAddress: SocketAddress) { - guard let channel = self.channel else { + guard let channel = self.channel, !self.isStopped else { return }