diff --git a/FastGithub.Dns/UdpTable.cs b/FastGithub.Dns/UdpTable.cs index 3a5eb9b..cae275c 100644 --- a/FastGithub.Dns/UdpTable.cs +++ b/FastGithub.Dns/UdpTable.cs @@ -36,7 +36,7 @@ namespace FastGithub.Dns { var proess = Process.GetProcessById(pid); proess.Kill(); - proess.WaitForExit(); + proess.WaitForExit(1000); return true; } catch (ArgumentException) diff --git a/FastGithub.ReverseProxy/TcpTable.cs b/FastGithub.ReverseProxy/TcpTable.cs index 47c7dea..227e321 100644 --- a/FastGithub.ReverseProxy/TcpTable.cs +++ b/FastGithub.ReverseProxy/TcpTable.cs @@ -36,7 +36,7 @@ namespace FastGithub.ReverseProxy { var proess = Process.GetProcessById(pid); proess.Kill(); - proess.WaitForExit(); + proess.WaitForExit(1000); return true; } catch (ArgumentException)