Skip to content

Conversation

@sfider
Copy link

@sfider sfider commented May 11, 2024

GetConnection removes element from list of connections when it returns null. This decreases indices of elements further in the list. I chose to fix the index to preserve the order, but iterating connections backwards would also do the trick.

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.

1 participant