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

Circular Reference in Node Pins Causes Hang #262

Open
Sage-of-Mirrors opened this issue Oct 16, 2023 · 0 comments
Open

Circular Reference in Node Pins Causes Hang #262

Sage-of-Mirrors opened this issue Oct 16, 2023 · 0 comments

Comments

@Sage-of-Mirrors
Copy link

Hello,

I have created a system whereby a set of nodes are loaded from a JSON file into the nodegraph. The majority of the time this is fine, but every so often I encounter a hang caused by an infinite loop in this for statement. This loop is caused by a pin having a reference to itself in its m_PreviousPin member. I have patched it by adding if (pin == pin->m_PreviousPin) break; to the end of the body, but I am curious if the cause of this circular reference is known? I have been unable to find a cause for it.

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