From 623a22681623fb427bc957a09736093d223eca47 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 16 Feb 2023 23:33:19 +0100 Subject: [PATCH] Fix semaphore --- Sources/Run/main.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Run/main.swift b/Sources/Run/main.swift index 7996f26..05937c6 100755 --- a/Sources/Run/main.swift +++ b/Sources/Run/main.swift @@ -6,7 +6,7 @@ try LoggingSystem.bootstrap(from: &env) let app = Application(env) defer { app.shutdown() } -private let semaphore = DispatchSemaphore(value: 1) +private let semaphore = DispatchSemaphore(value: 0) Task { try await configure(app) semaphore.signal()