From 24d26a3a010496d57b1e6dca2c80e8cabb284cec Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Fri, 22 Mar 2013 12:10:04 -0700 Subject: [PATCH] check for dead agents in VS so we can re-request from interface --- voxel/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/voxel/src/main.cpp b/voxel/src/main.cpp index 6427e73454..1be3788f04 100644 --- a/voxel/src/main.cpp +++ b/voxel/src/main.cpp @@ -178,6 +178,7 @@ int main(int argc, const char * argv[]) pthread_create(&reportAliveThread, NULL, reportAliveToDS, NULL); agentList.linkedDataCreateCallback = &attachVoxelAgentDataToAgent; + agentList.startSilentAgentRemovalThread(); srand((unsigned)time(0)); @@ -239,6 +240,7 @@ int main(int argc, const char * argv[]) } pthread_join(reportAliveThread, NULL); + agentlist.stopSilentAgentRemovalThread(); return 0; } \ No newline at end of file