summaryrefslogtreecommitdiff
path: root/src/rabbit_queue_collector.erl
diff options
context:
space:
mode:
authorAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-25 11:32:23 +0100
committerAlexandru Scvortov <alexandru@rabbitmq.com>2010-08-25 11:32:23 +0100
commitde6542707b5f94157787b1563ce4ba6dcadc216b (patch)
tree84bd7e8f2d19031fc3da5693a72384d52f17f47e /src/rabbit_queue_collector.erl
parentf9623dbc4ef6a920922a075ced476677b94cea3a (diff)
downloadrabbitmq-server-de6542707b5f94157787b1563ce4ba6dcadc216b.tar.gz
exclusive queues are deleted quickly on clean connection termination
Diffstat (limited to 'src/rabbit_queue_collector.erl')
-rw-r--r--src/rabbit_queue_collector.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_queue_collector.erl b/src/rabbit_queue_collector.erl
index b056d60b..226ce186 100644
--- a/src/rabbit_queue_collector.erl
+++ b/src/rabbit_queue_collector.erl
@@ -85,7 +85,7 @@ handle_call(delete_all, _From, State = #state{queues = Queues}) ->
fun () -> ok end,
fun () ->
erlang:demonitor(MonitorRef),
- rabbit_amqqueue:delete(Q, false, false)
+ rabbit_amqqueue:delete(Q)
end)
|| {MonitorRef, Q} <- dict:to_list(Queues)],
{reply, ok, State}.