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