Files
clash-verge-rev/Changelog.md
T
Tunglies 6553466ed6 fix(backup): serialize restore with config write lock
Acquire the configuration write lock at the entry of
finalize_restored_verge_config so the clash, profiles and verge draft
applies all happen under it, instead of only the verge layer. A
concurrent patch (patch_clash / patch_verge via try_lock_config_write)
could otherwise stage a draft that the unlocked restore applies
overwrite, or interleave its persistence with the restore.

Also drop the pointless clones in the clash and profiles edit_draft
closures; edit_draft takes FnOnce so the restored values can be moved
in. The lock is released before patch_verge, which re-acquires it via
try_lock_config_write.
2026-11-02 21:48:41 +08:00

1.7 KiB

v2.5.10

🐞 修复问题
  • 修复恢复备份的同时修改配置,可能导致配置丢失或错乱的问题
✨ 新增功能
🚀 优化改进