代理模块修改

This commit is contained in:
zhongluofeng
2026-07-16 18:26:57 +08:00
parent fb361aff9a
commit 15f29c5895
67 changed files with 2546 additions and 118 deletions
+2
View File
@@ -228,6 +228,8 @@ impl ProcessManager {
// 先终止旧进程
let _ = entry.child.kill();
let _ = entry.child.wait();
// 等待 TCP 端口释放(Windows 上 kill 后端口释放有延迟)
std::thread::sleep(std::time::Duration::from_millis(800));
// 重新启动
let mut cmd = Command::new(&executable);