fix SuperClient

This commit is contained in:
anlicheng 2026-05-22 16:33:48 +08:00
parent c74205f9a6
commit 28d23b3f8d
2 changed files with 51 additions and 51 deletions

View File

@ -82,7 +82,7 @@ actor SDLSuperService {
let onMessage = self.onMessage let onMessage = self.onMessage
group.addTask { group.addTask {
for try await message in await superClient.messageStream { for try await message in superClient.messageStream {
try Task.checkCancellation() try Task.checkCancellation()
await onMessage(message) await onMessage(message)
} }

View File

@ -60,4 +60,4 @@ enum SDLSuperTLSVerifier {
} }
} }
} }