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

fix: explicitly pass in filter to async analysis go routine #326

Merged

Commits on Apr 25, 2023

  1. fix: explicitly pass in filter to async analysis go routine

    Before the filter inside the func literal was capturing the value from
    the outer loop. This is a subtle mistake, since in combination with
    running the function literal as go routine, the value of filter could
    have already changed at invocation time.
    
    To fix this, the filter is now passed in as an argument to the func
    literal.
    
    Signed-off-by: Patrick Pichler <git@patrickpichler.dev>
    Patrick Pichler committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    a962611 View commit details
    Browse the repository at this point in the history