summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/SemanticState.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 0 insertions, 2 deletions
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;
}