Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upSegfault with layer list manipulation while iterating #368
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
Will be released soon with 0.26.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This code segfaults on typical layer lists:
Reason: deleting a layer will invalidate the following iterators. That's reasonable, but the program should not segfault. The solution is to reverse: