mirror of
https://github.com/overte-org/overte.git
synced 2025-07-22 17:54:15 +02:00
check for dead agents in VS so we can re-request from interface
This commit is contained in:
parent
4474e5dfa8
commit
24d26a3a01
1 changed files with 2 additions and 0 deletions
|
@ -178,6 +178,7 @@ int main(int argc, const char * argv[])
|
||||||
pthread_create(&reportAliveThread, NULL, reportAliveToDS, NULL);
|
pthread_create(&reportAliveThread, NULL, reportAliveToDS, NULL);
|
||||||
|
|
||||||
agentList.linkedDataCreateCallback = &attachVoxelAgentDataToAgent;
|
agentList.linkedDataCreateCallback = &attachVoxelAgentDataToAgent;
|
||||||
|
agentList.startSilentAgentRemovalThread();
|
||||||
|
|
||||||
srand((unsigned)time(0));
|
srand((unsigned)time(0));
|
||||||
|
|
||||||
|
@ -239,6 +240,7 @@ int main(int argc, const char * argv[])
|
||||||
}
|
}
|
||||||
|
|
||||||
pthread_join(reportAliveThread, NULL);
|
pthread_join(reportAliveThread, NULL);
|
||||||
|
agentlist.stopSilentAgentRemovalThread();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
Loading…
Reference in a new issue