summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-02 19:45:34 +0000
committerGordon Sim <gsim@apache.org>2010-06-02 19:45:34 +0000
commit28d1bbd6eaead440a947b876b74089f1fa5b298e (patch)
tree938769c6e773a272d9e862170cb123ce6df517da /cpp
parentbb7e76bfbb81c7cd1b40862e5074ebfb53b02691 (diff)
downloadqpid-python-28d1bbd6eaead440a947b876b74089f1fa5b298e.tar.gz
QPID-2004: Now that connections are cleaned up on shutdown, some cluster safety assertions need to be relaxed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950735 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/Queue.cpp1
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
2 files changed, 0 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/Queue.cpp b/cpp/src/qpid/broker/Queue.cpp
index 42c678cb68..8c9e5b8c48 100644
--- a/cpp/src/qpid/broker/Queue.cpp
+++ b/cpp/src/qpid/broker/Queue.cpp
@@ -374,7 +374,6 @@ bool Queue::browseNextMessage(QueuedMessage& m, Consumer::shared_ptr c)
void Queue::removeListener(Consumer::shared_ptr c)
{
- assertClusterSafe();
QueueListeners::NotificationSet set;
{
Mutex::ScopedLock locker(messageLock);
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index e85d835444..b8981b4877 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/cpp/src/qpid/broker/SemanticState.cpp
@@ -391,7 +391,6 @@ SemanticState::ConsumerImpl::~ConsumerImpl()
void SemanticState::cancel(ConsumerImpl::shared_ptr c)
{
- assertClusterSafe();
c->disableNotify();
if (session.isAttached())
session.getConnection().outputTasks.removeOutputTask(c.get());
@@ -698,7 +697,6 @@ void SemanticState::ConsumerImpl::enableNotify()
void SemanticState::ConsumerImpl::disableNotify()
{
Mutex::ScopedLock l(lock);
- assertClusterSafe();
notifyEnabled = false;
}