Files
picoclaw/pkg
yinwm 78aba700d5 fix(mcp): resolve TOCTOU race condition and resource leak
- Use atomic.Bool for closed flag to prevent TOCTOU race between
  CallTool and Close operations
- Add double-check pattern in CallTool for thread-safe closed state
- Use atomic Swap in Close to ensure no new calls can start after
  closed flag is set
- Move MCP manager cleanup defer before initialization to handle
  partial initialization failures
- Update tests to use atomic.Bool operations

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 00:47:25 +08:00
..
2026-03-01 18:17:32 +11:00
2026-02-25 21:31:07 +11:00
2026-03-01 18:17:32 +11:00
2026-02-18 21:48:23 +02:00
2026-03-02 11:59:26 +11:00
2026-02-20 22:35:16 +02:00