fix shutdown issue in test

This commit is contained in:
Christian Grothoff 2016-05-06 22:03:07 +02:00
parent ce1dcfe1ed
commit 0292d9d68a

View File

@ -340,11 +340,11 @@ maint_child_death (void *cls)
aggregator_state->ioff++; aggregator_state->ioff++;
state = aggregator_state; state = aggregator_state;
aggregator_state = NULL; aggregator_state = NULL;
interpreter (state);
child_death_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL, child_death_task = GNUNET_SCHEDULER_add_read_file (GNUNET_TIME_UNIT_FOREVER_REL,
pr, pr,
&maint_child_death, NULL); &maint_child_death, NULL);
interpreter (state);
} }
/** /**
@ -1116,8 +1116,6 @@ run_test ()
} }
/** /**
* Main function that will be run by the scheduler. * Main function that will be run by the scheduler.
* *