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:
Michael Klishin 2021-02-25 22:47:03 +03:00
parent b39f4a6d1d
commit 3430906ad8
No known key found for this signature in database
GPG Key ID: E80EDCFA0CDB21EE
1 changed files with 1 additions and 1 deletions

View File

@ -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)).
%%----------------------------------------------------------------------------