Skip to content

Commit

Permalink
AETimer moved to main thread because of new XCode 14 warning about pr…
Browse files Browse the repository at this point in the history
…iority inversion
  • Loading branch information
aepryus committed Nov 14, 2022
1 parent 7248383 commit ce2f7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Acheron/Utility/AETimer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import Foundation

public class AETimer {
private let timer: DispatchSourceTimer = DispatchSource.makeTimerSource()
private let timer: DispatchSourceTimer = DispatchSource.makeTimerSource(queue: .main)

public init() {}
deinit {
Expand Down

0 comments on commit ce2f7b1

Please sign in to comment.