Skip to content

Commit be46a1f

Browse files
alcoJosé Valim
authored andcommitted
Correct the exit reason from :brutal_kill to :kill in Supervisor doc (#7526)
Signed-off-by: José Valim <[email protected]>
1 parent 0e8de11 commit be46a1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/elixir/lib/supervisor.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ defmodule Supervisor do
124124
then awaiting for a time interval for the child process to terminate. This
125125
interval defaults to 5000 milliseconds. If the child process does not
126126
terminate in this interval, the supervisor abruptly terminates the child
127-
with reason `:brutal_kill`. The shutdown time can be configured in the
128-
child specification which is fully detailed in the next section.
127+
with reason `:kill`. The shutdown time can be configured in the child
128+
specification which is fully detailed in the next section.
129129
130130
If the child process is not trapping exits, it will shutdown immediately
131131
when it receives the first exit signal. If the child process is trapping

0 commit comments

Comments
 (0)