diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-11 16:31:33 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-11 16:31:33 +0200 |
commit | 3d9e2b89bef5d57c0845cb1965f7d162bd7209f0 (patch) | |
tree | f64d002d3eb2efcc870493a80a1d6482ac731e71 /src | |
parent | afb10e1d9e08569a9c511f287e5a1df4cbb1dba0 (diff) |
addressing #4572
Diffstat (limited to 'src')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 80db222d4..0b2a4043c 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -174,6 +174,12 @@ struct Coin { }; + +/** + * Handle to the exchange's process + */ +static struct GNUNET_OS_Process *exchanged; + /** * Context for running the #ctx's event loop. */ @@ -929,6 +935,7 @@ do_shutdown (void *cls) } GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "All (?) tasks shut down\n"); + GNUNET_OS_process_kill (exchanged, SIGTERM); } @@ -1020,7 +1027,6 @@ main (int argc, #ifdef RUNXCG struct GNUNET_OS_Process *proc; - struct GNUNET_OS_Process *exchanged; unsigned int cnt; #endif |