diff options
author | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-25 12:03:26 +0200 |
---|---|---|
committer | Marcello Stanisci <stanisci.m@gmail.com> | 2018-07-25 12:03:26 +0200 |
commit | d7789d0984d8e3e545efce72f07d492685269dd1 (patch) | |
tree | 6986e62803194cac6ffcdfd91d32680fd8d89155 /src/benchmark | |
parent | 7aee3ddc958a6309d4beae52c6a0eb31f5ed72df (diff) |
Fix segfault.
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark-new.c | 19 |
1 files changed, 0 insertions, 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 @@ -95,11 +95,6 @@ static struct GNUNET_TIME_Relative duration; static unsigned int result; /** - * Bank process. - */ -static struct GNUNET_OS_Process *bankd; - -/** * How many refreshes got executed. */ static unsigned int howmany_refreshes; @@ -314,19 +309,6 @@ run (void *cls, } /** - * 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 * * @param argc number of arguments from the command line @@ -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, |