diff --git a/mixer/src/main.cpp b/mixer/src/main.cpp index 1e9f665df7..e008a4709f 100644 --- a/mixer/src/main.cpp +++ b/mixer/src/main.cpp @@ -151,6 +151,8 @@ int main(int argc, const char * argv[]) agentList.linkedDataCreateCallback = attachNewBufferToAgent; + agentList.startSilentAgentRemovalThread(); + // setup the agentSocket to report to domain server pthread_t reportAliveThread; pthread_create(&reportAliveThread, NULL, reportAliveToDS, NULL); @@ -188,6 +190,7 @@ int main(int argc, const char * argv[]) } } + agentList.stopSilentAgentRemovalThread(); pthread_join(reportAliveThread, NULL); pthread_join(sendBufferThread, NULL);