summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Sholik <alcosholik@gmail.com>2018-04-03 10:30:29 +0300
committerMichał Muskała <michal@muskala.eu>2018-04-03 09:30:29 +0200
commit8b52c6d22394629ac5ec9339ebac8435a145d3bb (patch)
tree335faceb7535f754f3c4a34da04f0918abab620c
parent27e9486b4775017681804c2359e7e25b0ac2e775 (diff)
downloadelixir-8b52c6d22394629ac5ec9339ebac8435a145d3bb.tar.gz
Correct the exit reason from :brutal_kill to :kill in Supervisor doc (#7526)
-rw-r--r--lib/elixir/lib/supervisor.ex4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/elixir/lib/supervisor.ex b/lib/elixir/lib/supervisor.ex
index fa63c2195..c591f0a3d 100644
--- a/lib/elixir/lib/supervisor.ex
+++ b/lib/elixir/lib/supervisor.ex
@@ -121,8 +121,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