qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject [qpid-cpp] 02/02: QPID-8321: stop timer before shutting down poller and freeing plugins
Date Mon, 10 Jun 2019 20:20:21 GMT
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 <gsim@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


Mime
View raw message