diff options
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/src/qpid/broker/TopicExchange.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/TopicExchange.cpp b/cpp/src/qpid/broker/TopicExchange.cpp index 85c7a6a28e..4a22d91839 100644 --- a/cpp/src/qpid/broker/TopicExchange.cpp +++ b/cpp/src/qpid/broker/TopicExchange.cpp @@ -322,6 +322,7 @@ void TopicExchange::route(Deliverable& msg, const string& routingKey, const Fiel bool TopicExchange::isBound(Queue::shared_ptr queue, const string* const routingKey, const FieldTable* const) { + RWlock::ScopedRlock l(lock); if (routingKey && queue) { string key(normalize(*routingKey)); return isBound(queue, key); |