From eb685b6fa1e7aa15a1b4b17ca47d2192104fef4d Mon Sep 17 00:00:00 2001 From: Alessio Buratti Date: Fri, 17 Jul 2020 20:20:46 +0200 Subject: [PATCH] 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. --- Sources/Lifecycle/Lifecycle.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/Lifecycle/Lifecycle.swift b/Sources/Lifecycle/Lifecycle.swift index 9e8b8c5..95a1d1d 100644 --- a/Sources/Lifecycle/Lifecycle.swift +++ b/Sources/Lifecycle/Lifecycle.swift @@ -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"),