summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-06-11 16:47:25 +0200
committerChristian Grothoff <christian@grothoff.org>2016-06-11 16:47:25 +0200
commit63612f4976d34d259f28ca5f92ee1a922268ea7b (patch)
treed0d2c8e5b71d6866e4d9b3222c2ed0b457f25c59 /src
parent2886187a023105488fff8726872279e44d8d82b4 (diff)
parent44f2ac5194c18ba0494ea2a8e7fdcfc64cda9458 (diff)
downloadexchange-63612f4976d34d259f28ca5f92ee1a922268ea7b.tar.gz
exchange-63612f4976d34d259f28ca5f92ee1a922268ea7b.tar.bz2
exchange-63612f4976d34d259f28ca5f92ee1a922268ea7b.zip
Merge branch 'master' of git+ssh://taler.net/var/git/exchange
Diffstat (limited to 'src')
-rw-r--r--src/benchmark/taler-exchange-benchmark.c8
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