mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
fix: a problem that did not stop running after latency test
This commit is contained in:
1 parent
2b7343657b
commit
4a5847587a
1 file changed
+2
@@ -193,6 +193,8 @@ func TestHttpLatency(which []*configure.Which, timeout time.Duration, maxParalle
|
||||
if err != nil {
|
||||
return which, fmt.Errorf("cannot restart v2ray-core: %w", err)
|
||||
}
|
||||
} else {
|
||||
v2ray.ProcessManager.Stop(true)
|
||||
}
|
||||
if err := configure.NewWhiches(which).SaveLatencies(); err != nil {
|
||||
return nil, fmt.Errorf("failed to save the latency test result: %v", err)
|
||||
|
||||
Reference in new issue
Block a user