mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
* Now shows non-existent parent PIDs
* build-and-clean script is now XP compatible git-svn-id: svn://svn.code.sf.net/p/processhacker/code@472 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -40,7 +40,7 @@ namespace ProcessHacker
|
||||
ProcessNode itemNode = new ProcessNode(item);
|
||||
|
||||
// find this process' parent
|
||||
if (_processes.ContainsKey(item.ParentPID))
|
||||
if (item.HasParent && _processes.ContainsKey(item.ParentPID))
|
||||
_processes[item.ParentPID].Children.Add(itemNode);
|
||||
else
|
||||
_roots.Add(itemNode);
|
||||
|
||||
Reference in New Issue
Block a user