diff options
| author | Gordon Sim <gsim@apache.org> | 2013-07-10 13:47:05 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2013-07-10 13:47:05 +0000 |
| commit | 04ad679eb369aac2a49dbccfeaeaa5964e688dd8 (patch) | |
| tree | d7d482d9ca24a6922698034b1b66f56b7645e4d0 /cpp/src/qpid/broker/SemanticState.cpp | |
| parent | ed030b2309b484610bc3aca3c9b978cea1f6d00b (diff) | |
| download | qpid-python-04ad679eb369aac2a49dbccfeaeaa5964e688dd8.tar.gz | |
QPID-4976: support standard lifetime policies
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1501768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index dd7a25aaa4..4570e3bd87 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -449,9 +449,6 @@ void SemanticState::cancel(ConsumerImpl::shared_ptr c) Queue::shared_ptr queue = c->getQueue(); if(queue) { queue->cancel(c); - // Only run auto-delete for counted consumers. - if (c->isCounted() && queue->canAutoDelete() && !queue->hasExclusiveOwner()) - Queue::tryAutoDelete(session.getBroker(), queue, connectionId, userID); } c->cancel(); } |
