From d1311ac3cffd12d75b596e453679dd78bb8c2cf4 Mon Sep 17 00:00:00 2001 From: Christoffer Winterkvist Date: Tue, 20 Feb 2024 13:41:48 +0100 Subject: [PATCH] Set MachPortEventController to be @unchecked Sendable --- Sources/MachPort/MachPortEventController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Sources/MachPort/MachPortEventController.swift b/Sources/MachPort/MachPortEventController.swift index c479feb..6887599 100644 --- a/Sources/MachPort/MachPortEventController.swift +++ b/Sources/MachPort/MachPortEventController.swift @@ -9,8 +9,7 @@ public class MachPortEventPublisher { required init() throws {} } - -public final class MachPortEventController: MachPortEventPublisher { +public final class MachPortEventController: MachPortEventPublisher, @unchecked Sendable { private(set) public var eventSource: CGEventSource! private var machPort: CFMachPort?