try 放在循环内,有异常不会退出循环。有个漏网之鱼(syste.memory.dll)

pull/46/head
CGQAQ 5 years ago
parent 612ad30660
commit 3cd80a20bb

@ -86,9 +86,9 @@ namespace v2rayN.Handler
public void run()
{
try
while (!exitFlag_)
{
while (!exitFlag_)
try
{
if (enabled_ && channel_.State == ChannelState.Ready)
{
@ -123,8 +123,8 @@ namespace v2rayN.Handler
channel_.ConnectAsync();
}
}
catch { }
}
catch { }
}
public void parseOutput(Google.Protobuf.Collections.RepeatedField<Stat> source, out ulong up, out ulong down)

@ -112,6 +112,7 @@
<Reference Include="System.Memory, Version=4.0.1.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>LIB\System.Memory.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="System.Net" />
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">

Loading…
Cancel
Save