diff options
-rw-r--r-- | cpp/src/qpid/broker/Queue.cpp | 1 | ||||
-rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 2 |
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; } |