You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2019/06/10 20:20:21 UTC
[qpid-cpp] 02/02: QPID-8321: stop timer before shutting down poller
and freeing plugins
This is an automated email from the ASF dual-hosted git repository.
gsim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-cpp.git
commit 47c701cac9d59690bce21d10375103fcad9dfceb
Author: Gordon Sim <gs...@redhat.com>
AuthorDate: Mon Jun 10 21:17:48 2019 +0100
QPID-8321: stop timer before shutting down poller and freeing plugins
---
src/qpid/broker/Broker.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/qpid/broker/Broker.cpp b/src/qpid/broker/Broker.cpp
index 8710be6..54a04e5 100644
--- a/src/qpid/broker/Broker.cpp
+++ b/src/qpid/broker/Broker.cpp
@@ -558,11 +558,11 @@ Broker::~Broker() {
QPID_LOG(info, logPrefix << "shutting down");
if (mgmtObject != 0)
mgmtObject->debugStats("destroying");
+ timer->stop();
shutdown();
finalize(); // Finalize any plugins.
if (config.auth)
SaslAuthenticator::fini();
- timer->stop();
managementAgent.reset();
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org