summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/supervisor2.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/supervisor2.erl b/src/supervisor2.erl
index fd5f0f30..774b7007 100644
--- a/src/supervisor2.erl
+++ b/src/supervisor2.erl
@@ -565,6 +565,8 @@ do_restart_delay({RestartType, Delay}, Reason, Child, State) ->
del_child_and_maybe_shutdown(intrinsic, Child, State) ->
{shutdown, state_del_child(Child, State)};
+del_child_and_maybe_shutdown({intrinsic, _Delay}, Child, State) ->
+ {shutdown, state_del_child(Child, State)};
del_child_and_maybe_shutdown(_, Child, State) ->
{ok, state_del_child(Child, State)}.