Skip to content

Commit 6742fc4

Browse files
authored
fix typo (#48)
1 parent 0c9056b commit 6742fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Lifecycle/Lifecycle.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ extension ServiceLifecycle {
148148
/// - parameters:
149149
/// - signal: The signal to trap.
150150
/// - handler: closure to invoke when the signal is captured.
151-
/// - returns: a `DispatchSourceSignal` for the given trap. The source must be cancled by the caller.
151+
/// - returns: a `DispatchSourceSignal` for the given trap. The source must be cancelled by the caller.
152152
public static func trap(signal sig: Signal, handler: @escaping (Signal) -> Void, on queue: DispatchQueue = .global()) -> DispatchSourceSignal {
153153
let signalSource = DispatchSource.makeSignalSource(signal: sig.rawValue, queue: queue)
154154
signal(sig.rawValue, SIG_IGN)

0 commit comments

Comments
 (0)