Hack to prevent segfault
This commit is contained in:
@@ -450,7 +450,7 @@ extern "C" {
|
|||||||
void itti_wait_tasks_end(void) {
|
void itti_wait_tasks_end(void) {
|
||||||
shutting_down = false;
|
shutting_down = false;
|
||||||
signal(SIGTERM, catch_sigterm);
|
signal(SIGTERM, catch_sigterm);
|
||||||
signal(SIGINT, catch_sigterm);
|
//signal(SIGINT, catch_sigterm);
|
||||||
while (! shutting_down)
|
while (! shutting_down)
|
||||||
{
|
{
|
||||||
sleep(24 * 3600);
|
sleep(24 * 3600);
|
||||||
|
|||||||
Reference in New Issue
Block a user