Skip to content

Commit 188a38b

Browse files
committed
wip: add condition on DiscardingTaskGroup usage
1 parent e639c41 commit 188a38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncObjects/CancellationSource/CancellationSource.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public struct CancellationSource: AsyncObject, Cancellable, Loggable {
9191
}
9292
}
9393

94-
#if swift(>=5.8)
94+
#if swift(>=5.9)
9595
if #available(macOS 13.3, iOS 16.4, tvOS 16.4, watchOS 9.4, *) {
9696
self.lifetime = Task.detached {
9797
await withDiscardingTaskGroup { group in

0 commit comments

Comments
 (0)