summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-11-11 13:40:23 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-11-11 13:40:23 +0000
commite7cf003f5a835a64875d4c4c62d04223ba7fe5bd (patch)
treec2779a4bef437a45dbe1eec695bdaf1c18be7f40
parentc8bb646ab907b1cd7d082541321991db5b883ced (diff)
downloadrabbitmq-server-e7cf003f5a835a64875d4c4c62d04223ba7fe5bd.tar.gz
That TODO was true at some point in the evolution of this branch, but is not true any longer.
-rw-r--r--src/rabbit_mirror_queue_slave.erl4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index 694dcd9a..aa69aeed 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -305,9 +305,7 @@ handle_info({bump_credit, Msg}, State) ->
handle_info(Msg, State) ->
{stop, {unexpected_info, Msg}, State}.
-terminate(_, {not_started, _Q}) ->
- %% TODO we accept gm:leave/1 related garblings here, that '_'
- %% should be a 'normal'
+terminate(normal, {not_started, _Q}) ->
ok;
terminate(_Reason, #state { backing_queue_state = undefined }) ->
%% We've received a delete_and_terminate from gm, thus nothing to