From ea7f9543817993e22faf94478f07aac746729f73 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Thu, 27 Sep 2018 15:14:51 +0000 Subject: [PATCH] threadpool: do not propagate exceptions through the dtor This would call terminate. We ignore exceptions in pthread_join instead, as this is not a fatal problem here. Coverity 182568 --- src/common/threadpool.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/threadpool.cpp b/src/common/threadpool.cpp index 6b69e2a12..5ea04a353 100644 --- a/src/common/threadpool.cpp +++ b/src/common/threadpool.cpp @@ -57,7 +57,8 @@ threadpool::~threadpool() { has_work.notify_all(); } for (size_t i = 0; i