From c61313ca8b4e55f19ec20e1415d2d3954af7eb9c Mon Sep 17 00:00:00 2001 From: Jurre Stender Date: Wed, 11 Aug 2021 14:07:08 +0200 Subject: [PATCH] Wait for proxy container to stop before removing it --- src/updater.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/updater.ts b/src/updater.ts index a620ca0..19fc12f 100644 --- a/src/updater.ts +++ b/src/updater.ts @@ -51,8 +51,8 @@ export class Updater { // TODO: report job runner_error? core.error(`Error ${e}`) } finally { - this.proxy.container?.stop() - this.proxy.container?.remove() + await this.proxy.container?.stop() + await this.proxy.container?.remove() } }