summaryrefslogtreecommitdiff
path: root/src/supervisor2.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/supervisor2.erl')
-rw-r--r--src/supervisor2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index fb4c9b02..ecb2655f 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -555,7 +555,7 @@ restart(Child, State) ->
{terminate, NState} ->
report_error(shutdown, reached_max_restart_intensity,
Child, State#state.name),
- {shutdown, remove_child(Child, NState)}
+ {shutdown, state_del_child(Child, NState)}
end.
restart1(Child, State) ->