mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
With every cached image in use, a newly loaded entry (refs 0) was the only evictable one and got revoked before its waiting hook acquired it, leaving the image stuck on the loading placeholder; two loads finishing together could also evict each other. Count pending waiters per image and skip images that still have one when evicting.