From 93347b3904962c80d6aeba0c3be4a75af2a13e83 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sun, 7 Feb 2021 20:11:24 -0300 Subject: fix #6745 --- src/util/taler-exchange-secmod-rsa.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'src/util/taler-exchange-secmod-rsa.c') diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c index 2f1cae2c9..ebd2d375b 100644 --- a/src/util/taler-exchange-secmod-rsa.c +++ b/src/util/taler-exchange-secmod-rsa.c @@ -1798,13 +1798,16 @@ do_shutdown (void *cls) done_task = NULL; } /* shut down worker threads */ - GNUNET_assert (0 == pthread_mutex_lock (&work_lock)); - in_shutdown = true; - GNUNET_assert (0 == pthread_cond_broadcast (&work_cond)); - GNUNET_assert (0 == pthread_mutex_unlock (&work_lock)); - for (unsigned int i = 0; i