mirror of https://github.com/2dust/v2rayN
预防闪退
parent
a6fcf53b10
commit
ec3eb2215b
|
@ -34,6 +34,8 @@ namespace v2rayN.Base
|
|||
}
|
||||
|
||||
private void StartListen()
|
||||
{
|
||||
try
|
||||
{
|
||||
listener = new TcpListener(IPAddress.Any, port);
|
||||
listener.Start();
|
||||
|
@ -56,6 +58,11 @@ namespace v2rayN.Base
|
|||
Thread.Sleep(1);
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
Utils.SaveLog("WebserverB start fail.");
|
||||
}
|
||||
}
|
||||
private void ProcessThread(object obj)
|
||||
{
|
||||
try
|
||||
|
|
Loading…
Reference in New Issue