Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

frameDate update problem #1

Open
bvjustin opened this issue May 11, 2018 · 0 comments
Open

frameDate update problem #1

bvjustin opened this issue May 11, 2018 · 0 comments
Assignees

Comments

@bvjustin
Copy link
Collaborator

With the change to make the loopTimes variable thread safe, the actual values are now stored in the Atomic values, the didSet no longer gets called because the loopTimes atomic object itself does not get set, it's the atomic object's .values property that gets set. So to fix this, need to remove the didSet method for the variable and instead update the index manually whenever the loopTimes.values is set.

@bvjustin bvjustin self-assigned this May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant