Skip to content

Commit aab2664

Browse files
alephaogroue
authored andcommitted
fix: DispatchQueueExecutor sendable conformance on Linux
1 parent f3acfec commit aab2664

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

GRDB/Core/DispatchQueueActor.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,7 @@ private final class DispatchQueueExecutor: SerialExecutor {
4343
dispatchPrecondition(condition: .onQueue(queue))
4444
}
4545
}
46+
47+
#if os(Linux)
48+
extension DispatchQueueExecutor: @unchecked Sendable {}
49+
#endif

0 commit comments

Comments
 (0)