summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmile Joubert <emile@rabbitmq.com>2011-11-15 15:58:30 +0000
committerEmile Joubert <emile@rabbitmq.com>2011-11-15 15:58:30 +0000
commit993c2383db591571f04b056021d94fe162b1071a (patch)
tree00b40456a358530b36b7b02793a96985452140fe
parentd3aca6715f1f29ca4410f5b132135f5dc3fbc794 (diff)
parent341e006242e3ffbee37a5fbb6a3747cfd039d636 (diff)
downloadrabbitmq-server-git-993c2383db591571f04b056021d94fe162b1071a.tar.gz
Merged bug24560 into default
-rw-r--r--src/rabbit_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index b359f7d452..694abd9e49 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -281,7 +281,7 @@ handle_other({conserve_memory, Conserve}, Deb, State) ->
handle_other({channel_closing, ChPid}, Deb, State) ->
ok = rabbit_channel:ready_for_close(ChPid),
channel_cleanup(ChPid),
- mainloop(Deb, State);
+ mainloop(Deb, maybe_close(State));
handle_other({'EXIT', Parent, Reason}, _Deb, State = #v1{parent = Parent}) ->
terminate(io_lib:format("broker forced connection closure "
"with reason '~w'", [Reason]), State),