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 race condition when using semantic methods #356

Merged
merged 1 commit into from
Nov 25, 2024

Commits on Nov 25, 2024

  1. fix race condition when using semantic methods

    Enumerable and predicate methods will now behave better when they refer
    to stale proxies - filtering methods will just remove them. I run into
    this occasionally when I have multiple rules firing, and some of them
    are adding or removing items - and calling items.locations would raise
    a NoMethodError for #location? due to a race condition. This should no
    longer happen - it will just ignore the now-stale items.
    
    Signed-off-by: Cody Cutrer <[email protected]>
    ccutrer committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    79918fe View commit details
    Browse the repository at this point in the history