diff options
| -rw-r--r-- | src/mirrored_supervisor.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mirrored_supervisor.erl b/src/mirrored_supervisor.erl index a0f8b28122..721882e0a0 100644 --- a/src/mirrored_supervisor.erl +++ b/src/mirrored_supervisor.erl @@ -416,8 +416,7 @@ check_start(Group, Delegate, ChildSpec) -> case self() of Pid -> child(Delegate, Id); _ -> case supervisor(Pid) of - dead -> delete(Group, Id), - write(Group, ChildSpec), + dead -> write(Group, ChildSpec), start; Delegate0 -> child(Delegate0, Id) end |
