summaryrefslogtreecommitdiff
path: root/src
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
commitcca49430f9c9243800de6bcdca56b22ed915b630 (patch)
tree3c131d18f11fd9c09390f3d4c115eff647e00ba8 /src
parent3b2160e1735d112c22eee279f43153b117478848 (diff)
downloadrabbitmq-server-git-cca49430f9c9243800de6bcdca56b22ed915b630.tar.gz
correct erroneous comment
Diffstat (limited to 'src')
-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 fee377e7ac..c1fa17aa73 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} =