diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticState.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SemanticState.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp index 0b4d9f0032..3ba01de004 100644 --- a/cpp/src/qpid/broker/SemanticState.cpp +++ b/cpp/src/qpid/broker/SemanticState.cpp @@ -437,8 +437,10 @@ bool SemanticStateConsumerImpl::checkCredit(const Message& msg) SemanticStateConsumerImpl::~SemanticStateConsumerImpl() { - if (mgmtObject != 0) + if (mgmtObject != 0) { + mgmtObject->debugStats("destroying"); mgmtObject->resourceDestroy (); + } } void SemanticState::disable(ConsumerImpl::shared_ptr c) |
