aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZandra <[email protected]>2015-10-02 15:51:06 +0200
committerZandra <[email protected]>2015-10-02 15:51:06 +0200
commit5926738382a2ccb1cd10d310c261ecc285a69e44 (patch)
tree86d0674f59039ef447e9ceeb2c57b16f59203c61
parent7dd616c1832c54370be7f796a4b6578a8d9aedd9 (diff)
parentd3fdc0ac35193a9561afe402dd78e59abc734c91 (diff)
downloadotp-5926738382a2ccb1cd10d310c261ecc285a69e44.tar.gz
otp-5926738382a2ccb1cd10d310c261ecc285a69e44.tar.bz2
otp-5926738382a2ccb1cd10d310c261ecc285a69e44.zip
Merge branch 'maint'
-rw-r--r--lib/stdlib/src/supervisor.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/supervisor.erl b/lib/stdlib/src/supervisor.erl
index 3c77501c0f..92a0c29011 100644
--- a/lib/stdlib/src/supervisor.erl
+++ b/lib/stdlib/src/supervisor.erl
@@ -1083,7 +1083,7 @@ wait_dynamic_children(#child{restart_type=RType} = Child, Pids, Sz,
{timeout, TRef, kill} ->
?SETS:fold(fun(P, _) -> exit(P, kill) end, ok, Pids),
- wait_dynamic_children(Child, Pids, Sz-1, undefined, EStack)
+ wait_dynamic_children(Child, Pids, Sz, undefined, EStack)
end.
%%-----------------------------------------------------------------