Commit bafeb04a authored by Dominik Charousset's avatar Dominik Charousset

fixed destructor issue

parent 7e0dbf24
......@@ -191,8 +191,8 @@ void thread_pool_scheduler::stop() {
if (!ptr->deref()) delete ptr;
std::atomic_thread_fence(std::memory_order_seq_cst);
if (!hidden) dec_actor_count();
ptr = m_queue.try_pop();
}
ptr = m_queue.try_pop();
}
super::stop();
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment