[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-sync] branch master updated: fix shutdown order
From: |
gnunet |
Subject: |
[taler-sync] branch master updated: fix shutdown order |
Date: |
Mon, 06 Apr 2020 12:06:27 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository sync.
The following commit(s) were added to refs/heads/master by this push:
new 10348a3 fix shutdown order
10348a3 is described below
commit 10348a3c90e5864e2d43df8486efe6af8c125a58
Author: Christian Grothoff <address@hidden>
AuthorDate: Mon Apr 6 12:06:25 2020 +0200
fix shutdown order
---
src/sync/sync-httpd.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/sync/sync-httpd.c b/src/sync/sync-httpd.c
index b4d86a9..67bf75f 100644
--- a/src/sync/sync-httpd.c
+++ b/src/sync/sync-httpd.c
@@ -305,6 +305,12 @@ static void
do_shutdown (void *cls)
{
(void) cls;
+ SH_resume_all_bc ();
+ if (NULL != mhd_task)
+ {
+ GNUNET_SCHEDULER_cancel (mhd_task);
+ mhd_task = NULL;
+ }
if (NULL != SH_ctx)
{
GNUNET_CURL_fini (SH_ctx);
@@ -315,12 +321,6 @@ do_shutdown (void *cls)
GNUNET_CURL_gnunet_rc_destroy (rc);
rc = NULL;
}
- SH_resume_all_bc ();
- if (NULL != mhd_task)
- {
- GNUNET_SCHEDULER_cancel (mhd_task);
- mhd_task = NULL;
- }
if (NULL != mhd)
{
MHD_stop_daemon (mhd);
--
To stop receiving notification emails like this one, please contact
address@hidden.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-sync] branch master updated: fix shutdown order,
gnunet <=