From b08275256a03633f7b2fcb31270e4b82217cbb8f Mon Sep 17 00:00:00 2001 From: Hamzah Malik Date: Fri, 3 Jan 2025 10:56:36 +0000 Subject: [PATCH] Don't deprecate withGracefulShutdownHandler if compiler < 6, because there is no alternative --- Sources/ServiceLifecycle/GracefulShutdown.swift | 1 - 1 file changed, 1 deletion(-) diff --git a/Sources/ServiceLifecycle/GracefulShutdown.swift b/Sources/ServiceLifecycle/GracefulShutdown.swift index 2ba844e..56daca0 100644 --- a/Sources/ServiceLifecycle/GracefulShutdown.swift +++ b/Sources/ServiceLifecycle/GracefulShutdown.swift @@ -81,7 +81,6 @@ public func withGracefulShutdownHandler( #else // We need to retain this method with `@_unsafeInheritExecutor` otherwise we will break older // Swift versions since the semantics changed. -@available(*, deprecated, message: "Use the method with the isolation parameter instead.") @_disfavoredOverload @_unsafeInheritExecutor public func withGracefulShutdownHandler(