run the silent node removal thread in the agent

This commit is contained in:
Stephen Birarda 2013-10-25 14:07:50 -07:00
parent 3df07d344f
commit d97292a4f1

View file

@ -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