This commit is contained in:
anlicheng 2026-04-13 17:59:51 +08:00
parent 5739b59854
commit b939036c8d

View File

@ -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
}