yiguodev:OneXray 开发分支修复 Windows 旧 Core 会话恢复问题

yiguodev 说明,OneXray 已复现旧本地代理会话所用 Core 退出后的启动错误:Windows 进程检查丢失了原始错误码,导致应用无法识别进程已退出并清理旧记录。修复位于 dev-26.11.6 分支的 d08c8fed 提交;作者称已用本地 SOCKS 流量验证前次 Core 已退出和仍在运行两种情况下的恢复,并按开发分支已修复关闭问题。

作者原文

Thanks for reporting this. We reproduced the startup error when OneXray found a saved local proxy session whose Core had already exited. The Windows process check was losing the original error code, so OneXray could not recognize that the process was gone and clear the stale record.

The fix is on dev-26.11.6 in d08c8fedca464f8ac35187b3f5d2819650838252. We verified recovery on Windows with both an exited Core and a still-running Core from the previous session, using local SOCKS traffic.

Closing this as fixed on the development branch. If it still happens in a build that includes the fix, please comment here with the build number and the startup error.