check for dead agents in VS so we can re-request from interface

This commit is contained in:
Stephen Birarda 2013-03-22 12:10:04 -07:00
parent 4474e5dfa8
commit 24d26a3a01

View file

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