summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-01-20 09:45:05 +0100
committerChristian Grothoff <christian@grothoff.org>2020-01-20 09:45:05 +0100
commit72293a25ac5a989d982548fceba1c8ab5b8aba07 (patch)
treeff0c7c7a9468330cb1ddf1cd00aec8a05a0f34dc /src
parentc381a2aba733b56ccae228037148ee4515453745 (diff)
parente6bd2a832853bcd2a8b16940bfb306c04d5d734f (diff)
downloadexchange-72293a25ac5a989d982548fceba1c8ab5b8aba07.tar.gz
exchange-72293a25ac5a989d982548fceba1c8ab5b8aba07.tar.bz2
exchange-72293a25ac5a989d982548fceba1c8ab5b8aba07.zip
Merge branch 'master' of git+ssh://git.taler.net/exchange
Diffstat (limited to 'src')
-rw-r--r--src/exchange/taler-exchange-wirewatch.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/exchange/taler-exchange-wirewatch.c b/src/exchange/taler-exchange-wirewatch.c
index 43c5f7642..21d96668b 100644
--- a/src/exchange/taler-exchange-wirewatch.c
+++ b/src/exchange/taler-exchange-wirewatch.c
@@ -180,6 +180,11 @@ shutdown_task (void *cls)
struct WireAccount *wa;
(void) cls;
+ if (NULL != hh)
+ {
+ TALER_BANK_credit_history_cancel (hh);
+ hh = NULL;
+ }
if (NULL != ctx)
{
GNUNET_CURL_fini (ctx);
@@ -195,11 +200,6 @@ shutdown_task (void *cls)
GNUNET_SCHEDULER_cancel (task);
task = NULL;
}
- if (NULL != hh)
- {
- TALER_BANK_credit_history_cancel (hh);
- hh = NULL;
- }
TALER_EXCHANGEDB_plugin_unload (db_plugin);
db_plugin = NULL;
while (NULL != (wa = wa_head))