mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-19 01:56:53 +02:00
removed signal handlers, since we weren't using them and they were segfaulting
This commit is contained in:
parent
eb56810ef2
commit
17fbc2347b
1 changed files with 0 additions and 10 deletions
|
@ -358,18 +358,8 @@ void attachVoxelAgentDataToAgent(Agent *newAgent) {
|
|||
}
|
||||
}
|
||||
|
||||
void terminate (int sig) {
|
||||
printf("terminating now...\n");
|
||||
exit(EXIT_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
int main(int argc, const char * argv[])
|
||||
{
|
||||
signal(SIGABRT,&terminate);
|
||||
signal(SIGTERM,&terminate);
|
||||
signal(SIGINT,&terminate);
|
||||
|
||||
AgentList* agentList = AgentList::createInstance(AGENT_TYPE_VOXEL, VOXEL_LISTEN_PORT);
|
||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue