change terminate conds
parent
e25e1bfab3
commit
fcd2d67852
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.25)
|
cmake_minimum_required(VERSION 3.25)
|
||||||
project(blt-gp VERSION 0.0.78)
|
project(blt-gp VERSION 0.0.79)
|
||||||
|
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
|
||||||
|
|
|
@ -412,7 +412,7 @@ namespace blt::gp
|
||||||
|
|
||||||
[[nodiscard]] bool should_thread_terminate() const
|
[[nodiscard]] bool should_thread_terminate() const
|
||||||
{
|
{
|
||||||
return should_terminate() && thread_helper.lifetime_over;
|
return should_terminate() || thread_helper.lifetime_over;
|
||||||
}
|
}
|
||||||
|
|
||||||
[[nodiscard]] random_t& get_random() const;
|
[[nodiscard]] random_t& get_random() const;
|
||||||
|
|
Loading…
Reference in New Issue