diff options
author | Alexei Sholik <alcosholik@gmail.com> | 2018-04-03 10:30:29 +0300 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2018-04-11 18:58:13 +0200 |
commit | be46a1f999392e19aae13773732c3379eb15b22d (patch) | |
tree | a5ac4af7b80a4d4d52cb336a06d5e095af27bedc | |
parent | 0e8de11541de9b819acef5b0bb6b4ca2f14112d2 (diff) | |
download | elixir-be46a1f999392e19aae13773732c3379eb15b22d.tar.gz |
Correct the exit reason from :brutal_kill to :kill in Supervisor doc (#7526)
Signed-off-by: José Valim <jose.valim@plataformatec.com.br>
-rw-r--r-- | lib/elixir/lib/supervisor.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex index 50b9320a0..43ea22ab3 100644 --- a/lib/elixir/lib/supervisor.ex +++ b/lib/elixir/lib/supervisor.ex @@ -124,8 +124,8 @@ defmodule Supervisor do then awaiting for a time interval for the child process to terminate. This interval defaults to 5000 milliseconds. If the child process does not terminate in this interval, the supervisor abruptly terminates the child - with reason `:brutal_kill`. The shutdown time can be configured in the - child specification which is fully detailed in the next section. + with reason `:kill`. The shutdown time can be configured in the child + specification which is fully detailed in the next section. If the child process is not trapping exits, it will shutdown immediately when it receives the first exit signal. If the child process is trapping |