add debug

This commit is contained in:
anlicheng 2025-08-03 00:10:32 +08:00
parent a292bec2c4
commit d775f5ba96

View File

@ -63,6 +63,9 @@ actor SDLSuperClient {
group.addTask {
try await self.asyncChannel.channel.closeFuture.get()
NSLog("[SDLSuperClient] socket closed")
self.writeContinuation.finish()
self.inboundContinuation.finish()
throw SDLError.socketClosed
}
@ -183,7 +186,6 @@ actor SDLSuperClient {
deinit {
try! group.syncShutdownGracefully()
self.inboundContinuation.finish()
}
}