From 04ad679eb369aac2a49dbccfeaeaa5964e688dd8 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 10 Jul 2013 13:47:05 +0000 Subject: QPID-4976: support standard lifetime policies git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1501768 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/SessionAdapter.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'cpp/src/qpid/broker/SessionAdapter.cpp') diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index 2d4868628f..0124e88832 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -227,9 +227,6 @@ void SessionAdapter::QueueHandlerImpl::destroyExclusiveQueues() while (!exclusiveQueues.empty()) { Queue::shared_ptr q(exclusiveQueues.front()); q->releaseExclusiveOwnership(); - if (q->canAutoDelete()) { - Queue::tryAutoDelete(broker, q, connectionId, userId); - } exclusiveQueues.erase(exclusiveQueues.begin()); } } -- cgit v1.2.1