diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2013-11-11 13:40:23 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2013-11-11 13:40:23 +0000 |
commit | e7cf003f5a835a64875d4c4c62d04223ba7fe5bd (patch) | |
tree | c2779a4bef437a45dbe1eec695bdaf1c18be7f40 | |
parent | c8bb646ab907b1cd7d082541321991db5b883ced (diff) | |
download | rabbitmq-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.erl | 4 |
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 |