gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-exchange] 04/12: fix shutdown logic if shutdown happens during st


From: gnunet
Subject: [taler-exchange] 04/12: fix shutdown logic if shutdown happens during startup
Date: Sat, 29 Feb 2020 16:59:23 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository exchange.

commit ec8e3fad206fe1f355faa76193f7d891dad84791
Author: Christian Grothoff <address@hidden>
AuthorDate: Wed Feb 26 23:21:08 2020 +0100

    fix shutdown logic if shutdown happens during startup
---
 src/testing/testing_api_loop.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/testing/testing_api_loop.c b/src/testing/testing_api_loop.c
index e9ccdb81..5f30f71e 100644
--- 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;
+  }
 }
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]