From d106951e54b40b1a9971baeb80dcddb8ca077bb7 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Fri, 6 Sep 2013 14:35:15 +0000 Subject: QPID-5107: Trace queue&session deletion statistics show zero values for some counters everytime git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1520579 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/broker/DirectExchange.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/broker/DirectExchange.cpp') diff --git a/cpp/src/qpid/broker/DirectExchange.cpp b/cpp/src/qpid/broker/DirectExchange.cpp index 773a99d2c9..8ab7b59ed1 100644 --- a/cpp/src/qpid/broker/DirectExchange.cpp +++ b/cpp/src/qpid/broker/DirectExchange.cpp @@ -196,6 +196,9 @@ bool DirectExchange::isBound(Queue::shared_ptr queue, const string* const routin return false; } -DirectExchange::~DirectExchange() {} +DirectExchange::~DirectExchange() { + if (mgmtExchange != 0) + mgmtExchange->debugStats("destroying"); +} const std::string DirectExchange::typeName("direct"); -- cgit v1.2.1