Skip to content

Commit 341e006

Browse files
author
Simon MacMullen
committed
Duh
1 parent d6878f2 commit 341e006

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/rabbit_reader.erl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,7 @@ handle_other({conserve_memory, Conserve}, Deb, State) ->
281281
handle_other({channel_closing, ChPid}, Deb, State) ->
282282
ok = rabbit_channel:ready_for_close(ChPid),
283283
channel_cleanup(ChPid),
284-
maybe_close(State),
285-
mainloop(Deb, State);
284+
mainloop(Deb, maybe_close(State));
286285
handle_other({'EXIT', Parent, Reason}, _Deb, State = #v1{parent = Parent}) ->
287286
terminate(io_lib:format("broker forced connection closure "
288287
"with reason '~w'", [Reason]), State),

0 commit comments

Comments
 (0)