mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-11-17 07:08:01 +08:00
Ensure TransportCache.Get and detachMatching always release c.mu via defer when a caller-supplied callback panics, preventing the cache mutex from being permanently wedged after recovery. Also mark entries as retired in Purge() to match evictLocked, CloseKey, and detachMatching. Fixes #7162