diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_connection_sup.erl | 5 |
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} = |
