mirror of
https://github.com/zodiacon/WFPExplorer
synced 2026-06-08 18:39:31 +00:00
merge fixes
This commit is contained in:
@@ -25,7 +25,8 @@ CString ProcessHelper::GetProcessName(DWORD pid) {
|
||||
}
|
||||
::CloseHandle(hSnap);
|
||||
}
|
||||
name = processes.at(pid);
|
||||
if (auto it = processes.find(pid); it != processes.end())
|
||||
name = it->second;
|
||||
}
|
||||
return name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user