From d7789d0984d8e3e545efce72f07d492685269dd1 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Wed, 25 Jul 2018 12:03:26 +0200 Subject: Fix segfault. --- src/benchmark/taler-exchange-benchmark-new.c | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/src/benchmark/taler-exchange-benchmark-new.c b/src/benchmark/taler-exchange-benchmark-new.c index ac1240ab1..76c77f228 100644 --- a/src/benchmark/taler-exchange-benchmark-new.c +++ b/src/benchmark/taler-exchange-benchmark-new.c @@ -94,11 +94,6 @@ static struct GNUNET_TIME_Relative duration; */ static unsigned int result; -/** - * Bank process. - */ -static struct GNUNET_OS_Process *bankd; - /** * How many refreshes got executed. */ @@ -313,19 +308,6 @@ run (void *cls, result = 1; } -/** - * Send SIGTERM and wait for process termination. - * - * @param process process to terminate. - */ -void -terminate_process (struct GNUNET_OS_Process *process) -{ - GNUNET_OS_process_kill (process, SIGTERM); - GNUNET_OS_process_wait (process); - GNUNET_OS_process_destroy (process); -} - /** * The main function of the serve tool * @@ -433,7 +415,6 @@ main (int argc, cfg_filename); duration = GNUNET_TIME_absolute_get_duration (start_time); - terminate_process (bankd); TALER_LOG_INFO ("Executed W=%u, D=%u, R=%u, operations in %s\n", howmany_coins, -- cgit v1.2.3