mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-13 23:46:29 +02:00
have mixer kill off silent agents
This commit is contained in:
parent
31a164fd19
commit
c1d66e4026
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue