Skip to content

Commit

Permalink
Don't deprecate withGracefulShutdownHandler if compiler < 6, because …
Browse files Browse the repository at this point in the history
…there is no alternative
  • Loading branch information
hamzahrmalik committed Jan 3, 2025
1 parent c5407a8 commit b082752
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/ServiceLifecycle/GracefulShutdown.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ public func withGracefulShutdownHandler<T>(
#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<T>(
Expand Down

0 comments on commit b082752

Please sign in to comment.