Fix trojan not exit

This commit is contained in:
Connection Refused
2020-05-08 16:41:39 +08:00
parent 2bcd942675
commit b83f6d6c3d

View File

@@ -92,7 +92,10 @@ namespace Netch.Controllers
if (Instance != null && !Instance.HasExited)
{
Instance.Kill();
Instance.WaitForExit();
}
Process.Start("cmd.exe", "/c taskkill /f /t /im Trojan.exe").WaitForExit();
}
catch (Exception e)
{