| 97 | } |
| 98 | |
| 99 | void Buffered::finish_background_tasks() { |
| 100 | { |
| 101 | std::unique_lock lock(pool_mutex_); |
| 102 | pool_is_alive_ = false; |
| 103 | } |
| 104 | pool_ = nullptr; |
| 105 | } |
| 106 | |
| 107 | Buffered::~Buffered() { |
| 108 | finish_background_tasks(); |
nothing calls this directly
no outgoing calls
no test coverage detected