summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-11-15 11:57:32 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-11-15 11:57:32 +0000
commit341e006242e3ffbee37a5fbb6a3747cfd039d636 (patch)
treeee4f30f366151c6d07ba6afebe8997048aa13384 /src
parentd6878f2eb30e5a7a26348812a86e725fdc2ba921 (diff)
downloadrabbitmq-server-git-341e006242e3ffbee37a5fbb6a3747cfd039d636.tar.gz
Duh
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_reader.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 3c21c2100c..694abd9e49 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -281,8 +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),
- maybe_close(State),
- 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),