Skip to content

Commit eb685b6

Browse files
authored
Update ServiceLifecycle.Configuration comments (#58)
It seems to me that the comments of shutdownSignal and installBacktrace were inverted, I apologize in advance if I misunderstood something.
1 parent 5ad9992 commit eb685b6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Lifecycle/Lifecycle.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ extension ServiceLifecycle {
227227
public var logger: Logger
228228
/// Defines the `DispatchQueue` on which startup and shutdown callback handlers are run.
229229
public var callbackQueue: DispatchQueue
230-
/// Defines if to install a crash signal trap that prints backtraces.
231-
public var shutdownSignal: [Signal]?
232230
/// Defines what, if any, signals to trap for invoking shutdown.
231+
public var shutdownSignal: [Signal]?
232+
/// Defines if to install a crash signal trap that prints backtraces.
233233
public var installBacktrace: Bool
234234

235235
public init(logger: Logger = Logger(label: "Lifecycle"),

0 commit comments

Comments
 (0)