still on gentle twister termination.
This commit is contained in:
parent
96a4aefcfd
commit
3e191f3b08
@ -126,12 +126,12 @@ TALER_TESTING_prepare_bank (const char *config_filename)
|
|||||||
|
|
||||||
cfg = GNUNET_CONFIGURATION_create ();
|
cfg = GNUNET_CONFIGURATION_create ();
|
||||||
|
|
||||||
if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg, config_filename))
|
if (GNUNET_OK != GNUNET_CONFIGURATION_load
|
||||||
|
(cfg, config_filename))
|
||||||
BANK_FAIL ();
|
BANK_FAIL ();
|
||||||
|
|
||||||
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number
|
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number
|
||||||
(cfg, "bank",
|
(cfg, "bank", "HTTP_PORT", &port))
|
||||||
"HTTP_PORT", &port))
|
|
||||||
{
|
{
|
||||||
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
|
||||||
"bank",
|
"bank",
|
||||||
|
@ -162,7 +162,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