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

revert to index based notify loop #212

Merged

Commits on Sep 18, 2024

  1. revert to index based notify loop

    This fixes an issue in which calls to link occurring during notification
    would invalidate the iterators of the structured for loop. Calling link
    as a result of a reader<T>::watch callback can occur quite naturally.
    
    By using the size of the children vector at the point at which the for
    loop is initiated, and by using the [] operator in order to access the
    children within the vector, the issue is avoided.
    TheCoconutChef committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    c54da43 View commit details
    Browse the repository at this point in the history