mirror of
https://github.com/2dust/v2rayN.git
synced 2025-04-19 13:42:24 +00:00
Update CoreHandler.cs
This commit is contained in:
parent
4a32b2c814
commit
3934eb021b
1 changed files with 3 additions and 3 deletions
|
@ -82,11 +82,11 @@ namespace ServiceLib.Handler
|
|||
UpdateFunc(false, $"{Utils.GetRuntimeInfo()}");
|
||||
UpdateFunc(false, string.Format(ResUI.StartService, DateTime.Now.ToString("yyyy/MM/dd HH:mm:ss")));
|
||||
await CoreStop();
|
||||
await Task.Delay(100);
|
||||
await Task.Delay(1000);
|
||||
|
||||
if (Utils.IsWindows() && _config.TunModeItem.EnableTun)
|
||||
if (Utils.IsWindows()
|
||||
{
|
||||
await Task.Delay(100);
|
||||
await Task.Delay(1000);
|
||||
await WindowsUtils.RemoveTunDevice();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue