still on gentle twister termination.

This commit is contained in:
Marcello Stanisci 2018-03-26 21:43:25 +02:00
parent 96a4aefcfd
commit 3e191f3b08
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F
2 changed files with 4 additions and 4 deletions

View File

@ -126,12 +126,12 @@ TALER_TESTING_prepare_bank (const char *config_filename)
cfg = GNUNET_CONFIGURATION_create ();
if (GNUNET_OK != GNUNET_CONFIGURATION_load (cfg, config_filename))
if (GNUNET_OK != GNUNET_CONFIGURATION_load
(cfg, config_filename))
BANK_FAIL ();
if (GNUNET_OK != GNUNET_CONFIGURATION_get_value_number
(cfg, "bank",
"HTTP_PORT", &port))
(cfg, "bank", "HTTP_PORT", &port))
{
GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR,
"bank",

View File

@ -162,7 +162,7 @@ run (void *cls,
static void
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_destroy (process);
}