claude-code-best/docs
claude-code-best 8d67b2250c fix: 清理 useReplBridge pendingPermissionHandlers,修复 RC 权限条目保留内存泄漏
pendingPermissionHandlers Map 原定义在 async IIFE 内部,组件卸载时
cleanup 函数无法访问。修复方案:
- 将 Map 提升至 useEffect 顶层作用域
- cleanup 时显式调用 pendingPermissionHandlers.clear() 释放闭包引用
- 添加 8 个测试覆盖 handler 注册/取消/响应/cleanup 模式

同时确认 #4 空闲渲染循环已完整实现(所有 10 个 useAnimationFrame
调用者均正确传递 null 暂停时钟)。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-28 23:38:47 +08:00
..
agent docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
context docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
conversation docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
diagrams feat: 重构供应商层次 (#286) 2026-04-17 09:33:14 +08:00
extensibility docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
features fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
images docs: 更新文档, 加上配图 2026-04-01 11:14:20 +08:00
internals fix: resolve dependency audit findings precisely (#361) 2026-04-26 19:49:54 +08:00
introduction docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
logo docs: 尝试修复 docs 的位置 2026-04-01 10:09:00 +08:00
safety docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
task docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
test-plans Feat/integrate lint preview (#285) 2026-04-16 20:59:29 +08:00
tools docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
auto-updater.md docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
external-dependencies.md docs: 文档检查/check 20260419 (#296) 2026-04-19 09:30:00 +08:00
favicon.svg docs: 尝试修复 docs 的位置 2026-04-01 10:09:00 +08:00
lsp-integration.md Fix mintlify validate errors (#367) 2026-04-26 11:07:20 +08:00
memory-leak-audit.md fix: 清理 useReplBridge pendingPermissionHandlers,修复 RC 权限条目保留内存泄漏 2026-04-28 23:38:47 +08:00
telemetry-remote-config-audit.md feat: 关闭 Datadog 日志发送 2026-04-03 09:49:59 +08:00