summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2010-08-09 17:05:22 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2010-08-09 17:05:22 +0100
commita8dc08b2730d9330c438da4afb41e20e9fe5e00e (patch)
treee7eb355af3d1388129b8a969e750a9d51022f618
parentae37555e5e0f1a5e6b64c2b9de5a81747d000ab6 (diff)
parente1caa3548a3496d98b65e67aaab5f8514f42bd42 (diff)
downloadrabbitmq-server-a8dc08b2730d9330c438da4afb41e20e9fe5e00e.tar.gz
Merging bug 23098 into bug 15930
-rw-r--r--src/supervisor2.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index 3ded5d7f..773d67d3 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -567,7 +567,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) ->