Files
picoclaw/pkg
程智超0668000959 e70a9fca7c fix(tools): use sync.Once for thread-safe Stop() in SessionManager
The Stop() method previously used a select/default pattern which was not
safe under concurrent calls — two goroutines could both pass the check
and attempt to close the same channel, causing a panic.

Replace with sync.Once to guarantee exactly-once close semantics,
matching the documented contract of being safe for concurrent use.

Review feedback: afjcjsbx
2026-06-02 20:20:30 +08:00
..
2026-05-19 16:38:47 +08:00
2026-05-04 08:41:29 +02:00
2026-05-19 16:38:47 +08:00
2026-05-11 16:13:27 +08:00
2026-03-19 18:04:58 +08:00