diff options
| author | Gordon Sim <gsim@apache.org> | 2011-03-01 11:14:10 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2011-03-01 11:14:10 +0000 |
| commit | 8f61f01bfa482ae83d195558fda50dc71599541d (patch) | |
| tree | 8961349d1b83181d2869c75ddc3232f505c870e8 /cpp/src/qpid/broker/Connection.cpp | |
| parent | 9f4ad9ea29eb50e31d1b0037eced6e1f2df34dd0 (diff) | |
| download | qpid-python-8f61f01bfa482ae83d195558fda50dc71599541d.tar.gz | |
QPID-2630: ensure that exclusive, auto-deleted queues are freed up on early deletion (remove some confusion between connection and session scope for these)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075777 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Connection.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/Connection.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cpp/src/qpid/broker/Connection.cpp b/cpp/src/qpid/broker/Connection.cpp index f138a2d55e..9648ffd687 100644 --- a/cpp/src/qpid/broker/Connection.cpp +++ b/cpp/src/qpid/broker/Connection.cpp @@ -331,14 +331,6 @@ void Connection::closed(){ // Physically closed, suspend open sessions. try { while (!channels.empty()) ptr_map_ptr(channels.begin())->handleDetach(); - while (!exclusiveQueues.empty()) { - boost::shared_ptr<Queue> q(exclusiveQueues.front()); - q->releaseExclusiveOwnership(); - if (q->canAutoDelete()) { - Queue::tryAutoDelete(broker, q); - } - exclusiveQueues.erase(exclusiveQueues.begin()); - } } catch(std::exception& e) { QPID_LOG(error, QPID_MSG("While closing connection: " << e.what())); assert(0); |
