mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-30 04:47:28 -07:00
- fix thread pool shutdown - reenable previously excluded tests - fix ODR violations in test mocks, unfilter LTO - properly handle deprecated boost-bind version - remove precompiled header support Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/739 Merges: https://codeberg.org/gentoo/gentoo/pulls/739 Signed-off-by: Sam James <sam@gentoo.org>
15 lines
395 B
Diff
15 lines
395 B
Diff
https://github.com/luceneplusplus/LucenePlusPlus/pull/227
|
|
|
|
diff --git a/src/core/util/ThreadPool.cpp b/src/core/util/ThreadPool.cpp
|
|
index ee6640b..38f4170 100644
|
|
--- a/src/core/util/ThreadPool.cpp
|
|
+++ b/src/core/util/ThreadPool.cpp
|
|
@@ -30,6 +30,7 @@ ThreadPool::ThreadPool()
|
|
}
|
|
|
|
ThreadPool::~ThreadPool() {
|
|
+ io_context.stop();
|
|
threadGroup.join_all(); // wait for all competition
|
|
}
|
|
|