We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5074896 commit 4860484Copy full SHA for 4860484
Sources/ServiceLifecycle/GracefulShutdown.swift
@@ -80,7 +80,7 @@ public func cancelOnGracefulShutdown<T>(_ operation: @Sendable @escaping () asyn
80
}
81
82
let result = try await group.next()
83
- group.cancelAll() // currently needed, as the group does not always auto-cancel tasks on return
+ group.cancelAll()
84
85
switch result {
86
case .value(let t):
0 commit comments