mirror of
https://github.com/chainreactors/spray.git
synced 2026-10-28 19:40:49 +00:00
- reqCount/failedCount 改为 atomic.Int64, done 改为 atomic.Bool - rand.Source 加 sync.Mutex 防止并发 panic - Invoke 失败时正确回退 wg 计数, 避免死锁 - 新增 waitWorkers() 排空残留消息, ctx.Done 正确设置退出标记 - Close() 增加 nil 检查防止 panic Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>