Update StatisticsHandler.cs

如果调用kill的时候进程已经退出,就会导致v2rayN程序无法退出,先判断该进程是否已经退出再kill,修复该问题
pull/39/head
CGQAQ 5 years ago
parent 83e7ad9360
commit 26c9cd4d27

@ -96,7 +96,10 @@ namespace v2rayN.Handler
public void Close()
{
exitFlag_ = true;
connector_.Kill();
if (!connector_.HasExited)
{
connector_.Kill();
}
}
public void run()

Loading…
Cancel
Save