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
commite0aabc5b31317533dfbb5d39458b538537293d3d (patch)
tree985fbff964329b1584ee4b6cc5e4da310eacf5cf
parent3b9468c6c3f8e09e4843ed01c7f44edd3dcc5ff0 (diff)
downloadrabbitmq-server-e0aabc5b31317533dfbb5d39458b538537293d3d.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 1b9cea75..be02b761 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);