From 9a608f3037354da5166a49206ecc116e809a517a Mon Sep 17 00:00:00 2001 From: Kaveh Vahedipour Date: Tue, 12 Apr 2016 11:04:37 +0200 Subject: [PATCH] introducing cluster sanity checking to agency --- arangod/Agency/SanityCheck.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/arangod/Agency/SanityCheck.cpp b/arangod/Agency/SanityCheck.cpp index 5c69288647..7075f7b96c 100644 --- a/arangod/Agency/SanityCheck.cpp +++ b/arangod/Agency/SanityCheck.cpp @@ -7,7 +7,9 @@ using namespace arangodb::consensus; SanityCheck::SanityCheck() : arangodb::Thread("SanityCheck"), _agent(nullptr) {} -SanityCheck::~SanityCheck() {}; +SanityCheck::~SanityCheck() { + shutdown(); +}; void SanityCheck::wakeUp () { _cv.signal();