mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 08:30:35 +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[])
|
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);
|
AgentList* agentList = AgentList::createInstance(AGENT_TYPE_VOXEL, VOXEL_LISTEN_PORT);
|
||||||
setvbuf(stdout, NULL, _IOLBF, 0);
|
setvbuf(stdout, NULL, _IOLBF, 0);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue