mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-23 22:55:46 +00:00
Fix missing tree view when userland threads are hidden
(thanks to Josh Stone)
This commit is contained in:
parent
0baba6d7b4
commit
dc38fc2da3
@ -1,6 +1,8 @@
|
||||
|
||||
What's new in version 0.8.2
|
||||
|
||||
* BUGFIX: Fix missing tree view when userland threads are hidden
|
||||
(thanks to Josh Stone)
|
||||
* BUGFIX: Fix for VPID on OpenVZ systems
|
||||
(thanks to Wolfgang Frisch)
|
||||
|
||||
|
@ -563,9 +563,7 @@ static bool ProcessList_processEntries(ProcessList* this, char* dirname, Process
|
||||
process->pid = pid;
|
||||
}
|
||||
}
|
||||
if (parent) {
|
||||
process->tgid = parent->pid;
|
||||
}
|
||||
process->tgid = parent ? parent->pid : pid;
|
||||
|
||||
if (showUserlandThreads && (!parent || pid != parent->pid)) {
|
||||
char subdirname[MAX_NAME+1];
|
||||
|
Loading…
Reference in New Issue
Block a user