Refactored background job shutdown logic

This commit is contained in:
sech1
2025-09-14 14:41:31 +02:00
parent 8c1c5fd8e1
commit 44f8d941a7
6 changed files with 46 additions and 24 deletions
-1
View File
@@ -388,7 +388,6 @@ static void do_stop_mining(p2pool* m_pool, const char* /*args*/)
static void do_exit(p2pool *m_pool, const char * /* args */)
{
bkg_jobs_tracker->wait();
m_pool->stop();
}