Skip to content

Commit

Permalink
wip: add condition on DiscardingTaskGroup usage
Browse files Browse the repository at this point in the history
  • Loading branch information
soumyamahunt committed May 1, 2023
1 parent e639c41 commit 188a38b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public struct CancellationSource: AsyncObject, Cancellable, Loggable {
}
}

#if swift(>=5.8)
#if swift(>=5.9)
if #available(macOS 13.3, iOS 16.4, tvOS 16.4, watchOS 9.4, *) {
self.lifetime = Task.detached {
await withDiscardingTaskGroup { group in
Expand Down

0 comments on commit 188a38b

Please sign in to comment.