-fix fakebank shutdown sequence
This commit is contained in:
parent
35133c1e67
commit
a888981952
@ -1186,11 +1186,6 @@ TALER_FAKEBANK_stop (struct TALER_FAKEBANK_Handle *h)
|
|||||||
h->mhd_rfd = NULL;
|
h->mhd_rfd = NULL;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
if (NULL != h->mhd_bank)
|
|
||||||
{
|
|
||||||
MHD_stop_daemon (h->mhd_bank);
|
|
||||||
h->mhd_bank = NULL;
|
|
||||||
}
|
|
||||||
if (-1 != h->lp_event)
|
if (-1 != h->lp_event)
|
||||||
{
|
{
|
||||||
uint64_t val = 1;
|
uint64_t val = 1;
|
||||||
@ -1224,6 +1219,11 @@ TALER_FAKEBANK_stop (struct TALER_FAKEBANK_Handle *h)
|
|||||||
lp_trigger (lp,
|
lp_trigger (lp,
|
||||||
h);
|
h);
|
||||||
}
|
}
|
||||||
|
if (NULL != h->mhd_bank)
|
||||||
|
{
|
||||||
|
MHD_stop_daemon (h->mhd_bank);
|
||||||
|
h->mhd_bank = NULL;
|
||||||
|
}
|
||||||
if (NULL != h->accounts)
|
if (NULL != h->accounts)
|
||||||
{
|
{
|
||||||
GNUNET_CONTAINER_multihashmap_iterate (h->accounts,
|
GNUNET_CONTAINER_multihashmap_iterate (h->accounts,
|
||||||
|
Loading…
Reference in New Issue
Block a user