Skip to content

Conversation

dsiganos
Copy link
Contributor

@dsiganos dsiganos commented Feb 17, 2024

The work_pool starts a number of threads and joins them in the destructor.
This is pattern we want to break. We want to have a separate stop stage before destruction.
This change makes work_pool follow the new pattern.

@dsiganos dsiganos changed the title work_pool: move stopping form destructor to stop function work_pool: move stopping from destructor to stop function Feb 17, 2024
@dsiganos dsiganos requested a review from pwojcikdev February 17, 2024 18:26
@dsiganos
Copy link
Contributor Author

I missed a whole bunch of work_pool cases that are exercised when start node in non-daemon modes.
I will fix them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants