MobileNativeFoundation / Kronos

Elegant NTP date library in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calling sync() from a background thread does not work

jordansmithnz opened this issue · comments

Calling sync() from a background thread does not seem to work - neither the first or full completion handlers ever get called, not even after the timeout duration. Running the call from the main thread resolves the issue.

Might be worth documenting, or handling a little better?

Wanna take a stab at fixing it ? :)

Sure - just opened a pull request

was this fixed? can I call from a background thread?