Be more defensive when removing federated queue links
if terminate_child/2 above fails, so will delete_child/2.
(cherry picked from commit 315d162d3a
)
This commit is contained in:
parent
b39f4a6d1d
commit
3430906ad8
|
@ -65,7 +65,7 @@ stop_child(Q) ->
|
|||
[rabbit_misc:rs(QueueName), Err]),
|
||||
ok
|
||||
end,
|
||||
ok = mirrored_supervisor:delete_child(?SUPERVISOR, id(Q)).
|
||||
_ = mirrored_supervisor:delete_child(?SUPERVISOR, id(Q)).
|
||||
|
||||
%%----------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue