summaryrefslogtreecommitdiff
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
commitcb29af7579dc22e1ae63f2479e9f942317e47a65 (patch)
tree9925a797aee349cd9fdf1e8303ca0a37f042340e
parentd71f4809dae43189d357bf2f4f6c9762b3cf4b14 (diff)
downloadrabbitmq-server-cb29af7579dc22e1ae63f2479e9f942317e47a65.tar.gz
Unmislead comment.
-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 590a8be0..02f1fa16 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).