diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2011-08-11 12:04:06 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2011-08-11 12:04:06 +0100 |
| commit | b18c4c95c5d1bc03756e2eb27d416f2711acbbe3 (patch) | |
| tree | d117732c68b3358602a3355f6361d5daa07dd741 /src | |
| parent | 30e8edcc85de0875e468b3dae3fcea8303bde6c4 (diff) | |
| download | rabbitmq-server-git-b18c4c95c5d1bc03756e2eb27d416f2711acbbe3.tar.gz | |
That one isn't needed either.
Diffstat (limited to 'src')
| -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 |
