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

Add NSLocking conformance to ASNodeController #1179

Merged
merged 1 commit into from
Oct 21, 2018

Conversation

maicki
Copy link
Contributor

@maicki maicki commented Oct 17, 2018

No description provided.

@maicki maicki force-pushed the MSAddLockingToASViewController branch from 0e0f8af to 4e9f2bd Compare October 17, 2018 16:40
@maicki maicki force-pushed the MSAddLockingToASViewController branch from 4e9f2bd to 2df914f Compare October 18, 2018 20:04
@ghost
Copy link

ghost commented Oct 19, 2018

🚫 CI failed with log

@maicki maicki force-pushed the MSAddLockingToASViewController branch from 2df914f to 66a048e Compare October 19, 2018 14:42
@ghost
Copy link

ghost commented Oct 19, 2018

🚫 CI failed with log

@maicki maicki force-pushed the MSAddLockingToASViewController branch from 66a048e to dd42d83 Compare October 20, 2018 18:03
@maicki maicki force-pushed the MSAddLockingToASViewController branch from dd42d83 to 83696de Compare October 21, 2018 04:15
@@ -35,6 +39,7 @@ - (ASDisplayNode *)node

- (void)setupReferencesWithNode:(ASDisplayNode *)node
{
ASLockScopeSelf();
if (_shouldInvertStrongReference) {
// The node should own the controller; weak reference from controller to node.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there any risk of deadlock if the node is reaching out to the node controller around the same time?

@appleguy appleguy merged commit cb154f1 into master Oct 21, 2018
@appleguy appleguy deleted the MSAddLockingToASViewController branch October 21, 2018 18:49
mikezucc pushed a commit to mikezucc/Texture that referenced this pull request Nov 7, 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

Successfully merging this pull request may close these issues.

3 participants