UBERF-8469: Fix exit from github service (#6921)

Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
Andrey Sobolev
2024-10-15 10:04:39 +05:00
committed by GitHub
parent 81e02eb8ca
commit a714be51e9
13 changed files with 89 additions and 9 deletions
@@ -96,6 +96,7 @@ export class PlatformWorker {
async close (): Promise<void> {
this.canceled = true
clearInterval(this.periodicSyncInterval)
await Promise.all(
[...this.clients.values()].map(async (worker) => {
await worker.close()