Fix trojan not exit

This commit is contained in:
Connection Refused
2020-05-08 16:50:26 +08:00
parent 9fe2541f18
commit 8e202e6800

View File

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