summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-08-21 16:21:24 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-08-21 16:21:24 +0100
commit44be90747f04fe87152fdf0fde332fb21412ed06 (patch)
tree9925a797aee349cd9fdf1e8303ca0a37f042340e /src
parentbc89c97e18625cf44748ba180ea9bb0d1deaa755 (diff)
downloadrabbitmq-server-git-44be90747f04fe87152fdf0fde332fb21412ed06.tar.gz
Unmislead comment.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 590a8be081..02f1fa16e0 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -206,7 +206,7 @@ terminate({shutdown, missing_owner} = Reason, State) ->
terminate_shutdown(terminate_delete(false, Reason, State), State);
terminate({shutdown, _} = R, State = #q{backing_queue = BQ}) ->
terminate_shutdown(fun (BQS) -> BQ:terminate(R, BQS) end, State);
-terminate(normal, State) -> %% auto-delete case
+terminate(normal, State) -> %% delete case
terminate_shutdown(terminate_delete(true, normal, State), State);
terminate(_Reason, State) ->
terminate_crash(State).