Skip to content

Commit 15b406f

Browse files
committed
Fix other trivially fixed concurrency warnings
1 parent ee6e40e commit 15b406f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Block.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public enum SigactionDelayer_Block {
7474
throw SignalHandlingError.nonDestructiveSystemError(Errno(rawValue: ret))
7575
}
7676

77-
var error: Error?
77+
nonisolated(unsafe) var error: Error?
7878
let group = DispatchGroup()
7979
group.enter()
8080
Thread.detachNewThread{

Sources/SignalHandling/DelayedSigaction/SigactionDelayer_Unsig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public enum SigactionDelayer_Unsig {
294294
private static func createProcessingThreadIfNeededOnQueue() throws {
295295
guard !hasCreatedProcessingThread else {return}
296296

297-
var error: Error?
297+
nonisolated(unsafe) var error: Error?
298298
let group = DispatchGroup()
299299
group.enter()
300300
Thread.detachNewThread{

0 commit comments

Comments
 (0)