mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 20:32:24 +02:00
UBERF-8469: Fix exit from github service (#6921)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user