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.
This commit is contained in:
Alessio Buratti authored and GitHub committed 2020-07-17 11:20:46 -07:00
1 parent 5ad999203c
commit eb685b6fa1
1 file changed
+2 -2
+2 -2
View File
@@ -227,9 +227,9 @@ extension ServiceLifecycle {
public var logger: Logger
/// Defines the `DispatchQueue` on which startup and shutdown callback handlers are run.
public var callbackQueue: DispatchQueue
/// Defines if to install a crash signal trap that prints backtraces.
public var shutdownSignal: [Signal]?
/// Defines what, if any, signals to trap for invoking shutdown.
public var shutdownSignal: [Signal]?
/// Defines if to install a crash signal trap that prints backtraces.
public var installBacktrace: Bool
public init(logger: Logger = Logger(label: "Lifecycle"),