Skip to content
  • Angelos Evripiotis's avatar
    {artifact,source,cas}cache: fix one-shot callbacks · 95565a6b
    Angelos Evripiotis authored and bst-marge-bot's avatar bst-marge-bot committed
    Remove the unintended side-effect of only being able to iterate the
    ref_callbacks results once. This would mean that subsequent calls to
    clean() were not honoring the required_refs correctly.
    
    Update CasQuota.clean() to call the ref callbacks and iterate over
    their results.
    
    When registering ref callbacks; pass the methods, and not the generators
    that they return.
    95565a6b