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

[ASTextNode] Avoid acquiring instance lock multiple times #trivial #820

Merged
merged 1 commit into from
Mar 9, 2018

Conversation

nguyenhuy
Copy link
Member

Since the lock was acquire before we try to access the renderer, we should call -_locked_renderer to avoid re-acquiring the same (recursive) lock.

Since the lock was acquire before we try to access the renderer, we should call `-_locked_renderer` to avoid re-acquiring the same (recursive) lock.
@nguyenhuy nguyenhuy changed the title ASTextNode should avoid acquiring its lock multiple times #trivial [ASTextNode] Avoid acquiring instance lock multiple times #trivial Mar 7, 2018
@Adlai-Holler Adlai-Holler merged commit e0d07d0 into master Mar 9, 2018
@Adlai-Holler Adlai-Holler deleted the HNTextNodeLocking branch March 9, 2018 22:23
bernieperez pushed a commit to AtomTickets/Texture that referenced this pull request Apr 25, 2018
…extureGroup#820)

Since the lock was acquire before we try to access the renderer, we should call `-_locked_renderer` to avoid re-acquiring the same (recursive) lock.
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

Successfully merging this pull request may close these issues.

None yet

3 participants