Files
clash-verge-rev/Changelog.md
T
Tunglies 93526a6fa1 fix(clash): take config write lock when changing mode
change_clash_mode committed the clash draft and saved config.yaml without
claiming CONFIG_WRITE_LOCK, so a concurrent patch_clash transaction could
have its staged draft committed here or its file-snapshot rollback swallow
the mode change. Take lock_config_write (waiting) rather than
try_lock_config_write: two of the three callers (hotkey, tray) discard the
result, so fail-fast would silently drop the switch, and the lock is only
attempted after the mihomo patch already applied, where an Err would roll
the frontend back while the core runs the new mode.
2026-11-02 21:48:41 +08:00

1.8 KiB

v2.5.10

🐞 修复问题
  • 修复恢复备份的同时修改配置,可能导致配置丢失或错乱的问题
  • 修复切换规则模式与配置变更并发时可能丢失或错乱的问题
✨ 新增功能
🚀 优化改进