Skip to content

Commit

Permalink
Set MachPortEventController to be @unchecked Sendable
Browse files Browse the repository at this point in the history
  • Loading branch information
zenangst committed Feb 20, 2024
1 parent bffb294 commit d1311ac
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Sources/MachPort/MachPortEventController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit d1311ac

Please sign in to comment.