summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-03-01 15:11:22 +0000
committerSimon MacMullen <simon@rabbitmq.com>2012-03-01 15:11:22 +0000
commitd4435a0928bcb80272131312f8b4a9c87cd449a2 (patch)
tree985fbff964329b1584ee4b6cc5e4da310eacf5cf
parent82261daa7bdbac32987d343a558a0af453ba8e14 (diff)
downloadrabbitmq-server-git-d4435a0928bcb80272131312f8b4a9c87cd449a2.tar.gz
And a comment
-rw-r--r--src/rabbit_amqqueue_process.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl
index 1b9cea7531..be02b7611b 100644
--- a/src/rabbit_amqqueue_process.erl
+++ b/src/rabbit_amqqueue_process.erl
@@ -1341,6 +1341,8 @@ handle_cast(force_event_refresh, State = #q{exclusive_consumer = Exclusive}) ->
handle_cast({dead_letter, {Msg, AckTag}, Reason}, State) ->
dead_letter_msg(Msg, AckTag, Reason, State).
+%% We need to not ignore this as we need to remove outstanding
+%% confirms due to queue death.
handle_info({'DOWN', _MonitorRef, process, DownPid, Reason}, State) ->
case handle_ch_down(DownPid, State) of
{ok, State1} -> handle_queue_down(DownPid, Reason, State1);