change terminate conds

thread
Brett 2024-07-15 15:53:24 -04:00
parent e25e1bfab3
commit fcd2d67852
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.25)
project(blt-gp VERSION 0.0.78)
project(blt-gp VERSION 0.0.79)
include(CTest)

View File

@ -412,7 +412,7 @@ namespace blt::gp
[[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;