summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2013-09-09 06:35:22 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2013-09-09 06:35:22 +0100
commit0dc84f691a24c0fc93a8e1ed9b2c38c018966860 (patch)
tree3c131d18f11fd9c09390f3d4c115eff647e00ba8
parent8863213153ed323273f3c388190784a4ab808bcc (diff)
downloadrabbitmq-server-0dc84f691a24c0fc93a8e1ed9b2c38c018966860.tar.gz
correct erroneous comment
-rw-r--r--src/rabbit_connection_sup.erl5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/rabbit_connection_sup.erl b/src/rabbit_connection_sup.erl
index fee377e7..c1fa17aa 100644
--- a/src/rabbit_connection_sup.erl
+++ b/src/rabbit_connection_sup.erl
@@ -42,8 +42,9 @@ start_link() ->
SupPid,
{collector, {rabbit_queue_collector, start_link, []},
intrinsic, ?MAX_WAIT, worker, [rabbit_queue_collector]}),
- %% We need to get channels in the hierarchy here so they close
- %% before the reader. But for 1.0 readers we can't start the real
+ %% We need to get channels in the hierarchy here so they get shut
+ %% down after the reader, so the reader gets a chance to terminate
+ %% them cleanly. But for 1.0 readers we can't start the real
%% ch_sup_sup (because we don't know if we will be 0-9-1 or 1.0) -
%% so we add another supervisor into the hierarchy.
{ok, ChannelSup3Pid} =