fix: a problem that did not stop running after latency test

This commit is contained in:
mzz2017 committed 2021-09-06 19:18:10 +08:00
1 parent 2b7343657b
commit 4a5847587a
1 file changed
+2
+2
View File
@@ -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)