mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
Three gaps the settings rollback left open: - adding or deleting a custom inbound stored the new list and then reloaded the core; a core that refused the list stayed stopped with the rejected inbound stored, so every later start failed too; - a settings save that flipped ip forwarding left the kernel flag on the new value after the setting itself was rolled back, so the stored setting and the host disagreed; - the rollback reported "the previous ones are back" even when restoring the setting or restarting the core had failed as well. The session secret now retries persistence instead of accepting a failed store for the life of the process, and an unreadable secret row is no longer overwritten with a fresh one, which would have signed out every session.