Commit 80afe529 authored by 潘栩锋's avatar 潘栩锋 🚴

修改 HasExited, vs2017 没有这个

parent afd5993d
...@@ -24,8 +24,7 @@ namespace FLY.AppHelper ...@@ -24,8 +24,7 @@ namespace FLY.AppHelper
where where
(p.ProcessName == process.ProcessName) && (p.ProcessName == process.ProcessName) &&
(p.Id != process.Id) && (p.Id != process.Id) &&
(p.MainModule.FileName == process.MainModule.FileName) && (p.MainModule.FileName == process.MainModule.FileName)
(p.HasExited)
select p; select p;
try try
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment