This commit is contained in:
Christian Grothoff 2022-05-22 13:11:09 +02:00
parent b1b943aa3e
commit 3233195d2d
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -274,8 +274,9 @@ do_shutdown (void *cls)
for (unsigned int j = 0;
NULL != (cmd = &is->commands[j])->label;
j++)
cmd->cleanup (cmd->cls,
cmd);
if (NULL != cmd->cleanup)
cmd->cleanup (cmd->cls,
cmd);
if (NULL != is->exchange)
{
TALER_LOG_DEBUG ("Disconnecting the exchange\n");