mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 02:39:13 +00:00
inFlightKeys held only a timestamp, so the slot had no notion of WHICH fetch owned it. The watchdog and the display-sleep reset both evict an occupant, and a later fetch then legitimately claims the same key. When the evicted fetch finally returned, its defer cleared the new owner's slot and resumed every task parked on it, so a waiter woke on an empty cache and reported failure while the real fetch was still running. The slot now carries a token. A fetch releases it only if it still owns it; the watchdog and the resets take an explicit force path, because they are declaring the slot dead rather than reporting a fetch that ended. |
||
|---|---|---|
| .. | ||
| CodeBurnMenubarTests | ||