mirror of
https://github.com/netchx/netch.git
synced 2026-04-15 21:03:23 +08:00
Fix trojan not exit
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user