| 61 | } |
| 62 | |
| 63 | void BlockQueue::stop() |
| 64 | { |
| 65 | DEV_GUARDED(m_verification) |
| 66 | m_deleting = true; |
| 67 | |
| 68 | m_moreToVerify.notify_all(); |
| 69 | for (auto& i: m_verifiers) |
| 70 | i.join(); |
| 71 | m_verifiers.clear(); |
| 72 | } |
| 73 | |
| 74 | void BlockQueue::clear() |
| 75 | { |
no test coverage detected