mirror of
https://github.com/2dust/v2rayN.git
synced 2026-05-18 23:54:49 +03:00
Update StatisticsHandler.cs
如果调用kill的时候进程已经退出,就会导致v2rayN程序无法退出,先判断该进程是否已经退出再kill,修复该问题
This commit is contained in:
@@ -96,7 +96,10 @@ namespace v2rayN.Handler
|
||||
public void Close()
|
||||
{
|
||||
exitFlag_ = true;
|
||||
connector_.Kill();
|
||||
if (!connector_.HasExited)
|
||||
{
|
||||
connector_.Kill();
|
||||
}
|
||||
}
|
||||
|
||||
public void run()
|
||||
|
||||
Reference in New Issue
Block a user