rename ClearBypass() to ClearRouteTable()

This commit is contained in:
ChsBuffer
2020-09-21 21:27:37 +08:00
parent f777fae3d8
commit becc6d8187

View File

@@ -5,7 +5,6 @@ using System.IO;
using System.Linq;
using System.Net;
using System.Net.NetworkInformation;
using System.Net.Sockets;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
@@ -181,7 +180,7 @@ namespace Netch.Controllers
/// <summary>
/// 清除绕行规则
/// </summary>
private bool ClearBypass()
private bool ClearRouteTable()
{
switch (_savedMode.Type)
{
@@ -252,7 +251,7 @@ namespace Netch.Controllers
var tasks = new[]
{
Task.Factory.StartNew(StopInstance),
Task.Factory.StartNew(ClearBypass),
Task.Factory.StartNew(ClearRouteTable),
Task.Factory.StartNew(pDNSController.Stop)
};
Task.WaitAll(tasks);