exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ec8e3fad206fe1f355faa76193f7d891dad84791
parent 5d843e2cf47dcdcd90e6033567687c5a6e508529
Author: Christian Grothoff <christian@grothoff.org>
Date:   Wed, 26 Feb 2020 23:21:08 +0100

fix shutdown logic if shutdown happens during startup

Diffstat:
Msrc/testing/testing_api_loop.c | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c @@ -693,6 +693,16 @@ do_abort (void *cls) TALER_EXCHANGE_disconnect (is->exchange); is->exchange = NULL; } + if (NULL != is->ctx) + { + GNUNET_CURL_fini (is->ctx); + is->ctx = NULL; + } + if (NULL != is->rc) + { + GNUNET_CURL_gnunet_rc_destroy (is->rc); + is->rc = NULL; + } }