Skip to content

Commit b082752

Browse files
committed
Don't deprecate withGracefulShutdownHandler if compiler < 6, because there is no alternative
1 parent c5407a8 commit b082752

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/ServiceLifecycle/GracefulShutdown.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public func withGracefulShutdownHandler<T>(
8181
#else
8282
// We need to retain this method with `@_unsafeInheritExecutor` otherwise we will break older
8383
// Swift versions since the semantics changed.
84-
@available(*, deprecated, message: "Use the method with the isolation parameter instead.")
8584
@_disfavoredOverload
8685
@_unsafeInheritExecutor
8786
public func withGracefulShutdownHandler<T>(

0 commit comments

Comments
 (0)