fix shutdown logic if shutdown happens during startup

This commit is contained in:
Christian Grothoff 2020-02-26 23:21:08 +01:00
parent 5d843e2cf4
commit ec8e3fad20
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -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;
}
}