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