Skip to content

Commit

Permalink
Minor change in the check to execute block immediately.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ge0rges committed Mar 3, 2017
1 parent 15b6236 commit 371a080
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 1 deletion.
Binary file modified Synaction Product/libSynaction.a
Binary file not shown.
Binary file not shown.
2 changes: 1 addition & 1 deletion Synaction/Synaction.m
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ - (uint64_t)currentNetworkTime {// https://developer.apple.com/library/content/q
}

- (void)atExactTime:(uint64_t)val runBlock:(dispatch_block_t _Nonnull)block {
if (val < [self currentNetworkTime]) {// The value has already passed execute immediately.
if (val <= [self currentNetworkTime]) {// The value has already passed execute immediately.
block();
return;
}
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/Synaction.build/Debug-iphoneos/Synaction.build/dgph
Binary file not shown.
Binary file not shown.
Binary file modified build/Synaction.build/Debug-iphonesimulator/Synaction.build/dgph
Binary file not shown.

0 comments on commit 371a080

Please sign in to comment.