From 11931ff3b12e7212d1af7c94362e41cc50dd4a95 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 21 Jan 2022 16:03:26 +0100 Subject: [PATCH] fortuna: fix accu thread joiner check in dtor --- fortuna.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fortuna.cpp b/fortuna.cpp index ee662ac..cf43681 100644 --- a/fortuna.cpp +++ b/fortuna.cpp @@ -46,7 +46,7 @@ Fortuna::~Fortuna() noexcept { if (th_gen.joinable()) { th_gen.join(); } - if (th_gen.joinable()) { + if (th_accu.joinable()) { th_accu.join(); } if (th_sfm.joinable()) {