add debug

This commit is contained in:
anlicheng 2025-08-03 00:16:08 +08:00
parent d775f5ba96
commit e6fc903439

View File

@ -101,12 +101,13 @@ actor SDLSuperClient {
group.addTask {
while !Task.isCancelled {
await self.ping()
try? await Task.sleep(nanoseconds: 5 * 1_000_000_000)
try await Task.sleep(nanoseconds: 5 * 1_000_000_000)
}
NSLog("[SDLSuperClient] heartbeat cancelled")
}
try await group.waitForAll()
NSLog("[SDLSuperClient] group closed")
}
}
}