Fix trojan not exit

This commit is contained in:
Connection Refused
2020-05-08 18:07:45 +08:00
parent 8e202e6800
commit c9c023aad8
2 changed files with 4 additions and 1 deletions

View File

@@ -231,6 +231,10 @@ namespace Netch.Controllers
{
pVMessController.Stop();
}
else if (pTrojanController != null)
{
pTrojanController.Stop();
}
if (pNFController != null)
{

View File

@@ -92,7 +92,6 @@ namespace Netch.Controllers
if (Instance != null && !Instance.HasExited)
{
Instance.Kill();
Instance.Close();
Instance.WaitForExit();
}
}