add debug
This commit is contained in:
parent
a292bec2c4
commit
d775f5ba96
@ -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()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user