From d97292a4f17542014796bb2d36403fb98ce3b733 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 25 Oct 2013 14:07:50 -0700 Subject: [PATCH] run the silent node removal thread in the agent --- assignment-client/src/Agent.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assignment-client/src/Agent.cpp b/assignment-client/src/Agent.cpp index ef6a2caa35..1a63d2c4d5 100644 --- a/assignment-client/src/Agent.cpp +++ b/assignment-client/src/Agent.cpp @@ -143,6 +143,8 @@ void Agent::run() { int thisFrame = 0; + NodeList::getInstance()->startSilentNodeRemovalThread(); + while (!_shouldStop) { // if we're not hearing from the domain-server we should stop running @@ -210,6 +212,8 @@ void Agent::run() { } } } + + NodeList::getInstance()->stopSilentNodeRemovalThread(); } else { // error in curl_easy_perform