diff options
author | Lukas Larsson <[email protected]> | 2019-04-11 16:17:11 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2019-04-18 14:28:03 +0200 |
commit | cf92a1285fb7f1ea6e8c883f02ca146b5b1ab455 (patch) | |
tree | bc6b25aaaf1bab5aa990010cfd2eb752774bf420 | |
parent | 98db432aded24570a185b54217510a02daa0903d (diff) | |
download | otp-cf92a1285fb7f1ea6e8c883f02ca146b5b1ab455.tar.gz otp-cf92a1285fb7f1ea6e8c883f02ca146b5b1ab455.tar.bz2 otp-cf92a1285fb7f1ea6e8c883f02ca146b5b1ab455.zip |
etp: Fix free de processes check
-rw-r--r-- | erts/etc/unix/etp-commands.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in index dc28107ef5..1f5703c596 100644 --- a/erts/etc/unix/etp-commands.in +++ b/erts/etc/unix/etp-commands.in @@ -2176,8 +2176,8 @@ end define etp-processes-free-de-int set $de_ix = 0 - while $de_ix < ($arg1) - set $de = ($arg0)+$de_ix + set $de = ($arg0) + while $de set $susp = $de->suspended set $susp_curr = $susp set $first_loop = 1 @@ -2191,7 +2191,7 @@ define etp-processes-free-de-int set $first_loop = 0 set $susp_curr = $susp_curr->next end - set $de_ix++ + set $de = $de->next end end |