gently terminating the twister.
This commit is contained in:
parent
0056cb6d09
commit
96a4aefcfd
@ -108,7 +108,7 @@ run (void *cls,
|
|||||||
static void
|
static void
|
||||||
purge_process (struct GNUNET_OS_Process *process)
|
purge_process (struct GNUNET_OS_Process *process)
|
||||||
{
|
{
|
||||||
GNUNET_OS_process_kill (process, SIGKILL);
|
GNUNET_OS_process_kill (process, SIGINT);
|
||||||
GNUNET_OS_process_wait (process);
|
GNUNET_OS_process_wait (process);
|
||||||
GNUNET_OS_process_destroy (process);
|
GNUNET_OS_process_destroy (process);
|
||||||
}
|
}
|
||||||
|
@ -105,7 +105,7 @@ run (void *cls,
|
|||||||
static void
|
static void
|
||||||
purge_process (struct GNUNET_OS_Process *process)
|
purge_process (struct GNUNET_OS_Process *process)
|
||||||
{
|
{
|
||||||
GNUNET_OS_process_kill (process, SIGKILL);
|
GNUNET_OS_process_kill (process, SIGINT);
|
||||||
GNUNET_OS_process_wait (process);
|
GNUNET_OS_process_wait (process);
|
||||||
GNUNET_OS_process_destroy (process);
|
GNUNET_OS_process_destroy (process);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user